Skip to content

Platform overview

The hosted Membase at app.membase.com as your code meets it: the nouns, what each screen of the app is to the API, credentials, one account per person, limits, the Marketplace, and what can be undone.

The Memory Platform is the hosted Membase at https://app.membase.com. A person hands it material once; it keeps a living memory of that material; every AI they connect, and every key they mint, reads the same memory. The mechanism is on How Membase works; this page is the product around it, written for someone whose code will meet what the person sees. The screens themselves, one page each, are in the Use Membase tab.

API In the app What it is
Memory (memory_name in answers) a Memory one named space of memory, with the agent that keeps it and the material it reads. Named in answers, never addressed in a request
memory (mem_…) an item on a Memory’s page one fact a Memory learned
document (doc_…) a row under a Memory’s sources one piece of material handed in: a file or a page (kind: file), or a fact as it was said (kind: note)
media (med_…) a photo or video in a media Memory what was seen or said in it, with its moments

One account holds Memories; each Memory holds documents that a run turns into memories; the profile sits beside them

Plain verbs: list, search, get, add, delete, forget, ask. Memory operations walks them; the API reference has every operation.

A profile sits beside the Memories: standing statements about the user (pf_…), each with where it came from (source_kind). list_profile_facts reads it; add_profile_fact and forget_profile_fact keep and forget one, on a key whose level allows it.

A credential reads every Memory it reaches. A write lands in its write target: the Memory chosen under Writes go to on its page, or the only text Memory it reaches. A credential that reaches several and has none chosen is refused with 422 write_target_required.

Screen The person uses it to Your code meets it as
Home talk to the assistant, the one agent that is theirs by default; reach it on Telegram the profile facts it records (source_kind: model_generated); the assistant’s own memory is not a Memory here
Memory make Memories, add sources, select Learn now and inspect what was learned search_memories, list_memories, get_memory, the facts forget_memory removes; a document’s learning turning succeeded after a run
Files keep files, and hand folders, uploads, Notion pages and captured conversations to a Memory add_document, list_documents, get_document, delete_document
Studio build memory flows (the Memory flows tab) nothing; the memory API reaches Memories, not flows
Schedules run Memories and memory flows on a cadence (Studio’s Schedules tab) a document’s learning turning succeeded without a call of yours
Activity see what ran the run a 202 from add_document started; a key’s own calls are on the key’s page
AI Setup connect the account’s own AI, and choose what Memories learn on 422 · capability_unavailable when there is no model
Connect connect AI apps (AI apps tab) and create keys (Developer keys tab) consent tokens and developer keys: Authentication & Scopes
Marketplace sell and buy access to a Memory a buyer’s credential, search_memories
Settings plan and AI credits, export, delete a write’s receipt with learning.reason: "credits_used_up" when the AI credits are used up; 422 · capability_unavailable with details.reason: "dormant" when a paid plan has ended

Every call carries a bearer: a developer key the owner minted, or a consent token an app received on the OAuth consent screen (a consent token is good at /mcp-http only). Both have a level (Read, Read & write, Full), a reach (the Memories they may use) and an expiry. The consent screen is the same form as Create key; an app that asked for read access alone (or named no scope) can only be approved at Read. Both are managed by the account owner in Connect. Authentication & Scopes has the whole model; the keys screen is under Connect in the user guide.

A key’s calls are on the key’s page, not on Activity: Usage (calls in the last 30 or 7 days, how many were refused, the tool it calls most) and Recent calls (each call: tool, Memory, what came back, when; a refused call in red with the reason). The same numbers are on GET /v1/keys/{id}/usage with the owner’s session.

The account is the tenant. A Memory is a topic, not an end user. A product that serves many people gives each of them their own Membase account, and reads their memory with their own key or their own consent; there are no application-wide keys and no sub-tenant tags. Multi-user isolation has the patterns.

Learning and every assistant answer need AI. It comes from the plan’s AI credits, or from the account’s own AI under AI Setup: an API key for a provider, or a connected Claude or ChatGPT account. Under Memory learning the owner picks what Memories learn on: Your AI or Membase model (which uses AI credits). When the AI credits are used up and no AI of the account’s own is connected, what was learned stays readable and searchable, but learning pauses: new documents wait unlearned. A search may name the Memories that could not answer in partial. How Membase works.

Search and every list name the Memories that could not answer in partial on an HTTP 200. Check that field before treating an empty result as “nothing found.” API troubleshooting covers partial failures, deferred learning and timeouts.

Status Code When
400 validation an empty q, both or neither of content and url, a list limit outside 1–1000
401 unauthenticated no bearer token on the request, or a consent token on /v1 (it works only at /mcp-http)
403 unauthorized an invalid, expired or revoked key, or a verb above its level
404 not_found an id that is not this credential’s to read: outside its reach, deleted, or not one of ours
422 validation a missing, mistyped or unknown body field (container included), or a search limit outside 1–50; read code to tell it from the rows below
422 write_target_required a write from a credential that reaches no text Memory, or several with none chosen
428 confirmation_required a delete or forget without confirm=true; nothing changed (a credential that holds no destructive verb gets 403 first)
422 capability_unavailable the account’s memory cannot run a turn here (no agent container, no model)
422 capability_unavailable with details.reason: "dormant": the account’s paid plan has ended, and its memory is asleep until the owner renews or chooses another plan
429 rate_limited the account’s concurrent-turn budget, or the token’s per-minute request limit; retry later
429 quota_exceeded a write when the account’s storage is full or its plan is not active, or a marketplace credential whose searches for the period are used up

Uploads through add_document are capped at 32 MiB per file, on every plan. When the account’s AI credits are used up, a write is still kept: its receipt says learning: [{"status": "pending", "reason": "credits_used_up", "message": "…"}], and the message is for the person. Learning starts again once the owner chooses a plan, adds an API key or connects a Claude or ChatGPT account under AI Setup. Plans and their AI credits are on membase.com/pricing.

What is sold is a Memory, as search (listing kind memory). The buyer’s credential reaches that one Memory and holds only search_memories and search_media: the passages that match a query, as the account’s own keys search, but never the fact list, documents, the seller’s profile or a write. Every search re-checks the purchase and takes one call of the period’s allowance. A listing sold earlier as an agent endpoint searches its Memory the same way; the other listing kinds are retired, and existing purchases are served until they end. Check the listing’s Included access section. Marketplace.

Revoking a key or disconnecting an app changes subsequent access. It does not erase content already received by the client. Pausing a schedule stops future scheduled runs; plan changes follow the terms and dates shown for that plan or purchase.

Deleting a Memory removes its stored content. Deleting a conversation removes the transcript but retains information already saved to memory. Deleting account data retains the sign-in identity. Review the confirmation and export data you want to keep before deleting. Concepts.