- Namespaces scope everything. A namespace (formerly a container tag) is one user, project or tenant. Every v5 route except
namespaces.list,connectors.listAll,organization.*andfeedback.sendtakesnamespace, and a document belongs to exactly one. - Ingestion is asynchronous.
documents.add,documents.batchAddanddocuments.uploadFileanswer once the work is queued; extraction and memory formation continue in the background. Readdocuments.get(orresources.listwithtype: documents) for the status before you search for the new content. Reusing a documentidappends to that document and keeps its history. - Search modes.
search.querysearches memories and document chunks together by default (searchModechanges that);profiles.getreturns the static and dynamic facts Supermemory keeps about the namespace. - Forgetting is permanent.
memories.forgetremoves memories by id,memories.forgetMatchingremoves every memory a natural-language query matches (passdryRun: truefirst to preview the set), anddocuments.delete,namespaces.deleteandconnectors.delete(withdeleteDocuments) remove content.namespaces.deletewithmoveTomoves the content into another namespace instead. All aredestructive. - Connectors link Notion, Google Drive, OneDrive, Gmail, GitHub and other apps:
connectors.createreturns an authorization link the account owner opens, and syncs then write documents into the namespace. Connectors need the Pro plan; the free plan answers 403. - Moves and merges wait for processing.
namespaces.deletewithmoveToandlegacy.containerTags.mergeanswer 409 while any document in either namespace is still being ingested or forming memories, which can take several minutes. Documents added withtaskType: "superrag"skip memory formation. - Legacy routes. Everything under
legacy.is the v3/v4 API, still served and still in the API reference. Use it for what v5 doesn’t have yet: direct memory writes (legacy.memories.create), conversations (legacy.conversations.ingest), document chunks and presigned file URLs, and container-tag merges.legacy.settings.resetdeletes every document, memory and connection in the organization. - Feedback.
feedback.sendsends a bug report or feature request to Supermemory’s team, so it isdestructive. - Limits. A 429 is retried by core with backoff; a plan limit answers 402.
- 74 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Supermemory API key before the first call: More: API Key
pnpm corsair setup --plugin=supermemory --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
Search a user’s memoriesWhat’s next
API reference
Every
supermemory.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.