Skip to content

Spaces & Banks

A space is an organization; a bank is one subject's memory store inside it. See the memory model.

Spaces

OperationMethod & path
List spacesGET /v1/me/spaces
Create spacePOST /v1/me/spaces{ "id": "acme", "name": "Acme Corp" }
List banks in a spaceGET /v1/me/spaces/{space}/banks
Attach bank to spacePUT /v1/me/spaces/{space}/banks/{bank}
Remove bank from spaceDELETE /v1/me/spaces/{space}/banks/{bank} (person + memories kept)
Delete spaceDELETE /v1/me/spaces/{space} (banks become unassigned, never deleted)

Each space has an implicit org bank at __org__:{space} — see Org & layered memory.

Banks

OperationMethod & path
Get bank profileGET /v1/me/banks/{bank}
Get / update configGET / PATCH /v1/me/banks/{bank}/config
List memoriesGET /v1/me/banks/{bank}/memories
List entitiesGET /v1/me/banks/{bank}/entities
Delete bankDELETE /v1/me/banks/{bank}

Bank config (selected)

PATCH /v1/me/banks/{bank}/config with { "updates": { … } }:

KeyValuesPurpose
retain_extraction_modeconcise · verbose · chunks · customHow retain extracts facts. chunks = verbatim, no LLM.
retain_auto_entitiesboolNo-LLM entity extraction in chunks mode (default false). See Entities.
encryptionnone · managedEncryption at rest. Needs the server master key.
enable_temporal_retrieval / enable_graph_retrieval / enable_rerankingboolRecall pipeline stages.
disposition_skepticism / _literalism / _empathy1–5Reflect personality.

SDK

python
cm.create_space("acme", name="Acme Corp")
cm.update_bank_config("jane@acme.com", encryption="managed", retain_auto_entities=True)
typescript
await cm.createSpace("acme", { name: "Acme Corp" });
await cm.updateBankConfig("jane@acme.com", { encryption: "managed", retainAutoEntities: true });