HTTP API
Memory
4 routes your API key can call. Each says who may call it; every example assumes KEY is your API key. What only the dashboard does (signing in, making API keys, connecting accounts) isn't listed here: it's in the full OpenAPI spec.
/v1/workspaces/{wid}/memoryRemember text in the workspace's own Supermemory account (Memory, beta)
People, API keys and the sandbox's own task token
scope workspace keeps it for every task; scope task keeps it with one task (task; a sandbox's task token may leave task out for its own). Annex picks the Supermemory namespace from the workspace and task (annex:<wid> or annex:<wid>:<tid>); no request can name one. Members, API keys and task tokens (their own task and workspace only; another task is 404). 422 no_memory "Connect Supermemory in Connections to use memory." without a memory connection; 422 memory_rejected if Supermemory refuses the key (401/403 there: revoked, read-only or limited to other namespaces); 503 provider_unavailable if it can't be reached.
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
Body
textstringrequired16 KiB at most
scope"workspace" | "task"requiredtaskstringThe task (
tsk_…) for scope tasktagsstring[]
Answer · 201
memoryMemoryrequiredidstringSupermemory's document id, for DELETE …
/memory/{id}scope"workspace" | "task"taskstring | nulltagsstring[]bystringWho remembered it:
usr_…(a person),key_…(an API key) or the task token'ssbx_…
curl -X POST 'https://annex.eversonder.com/v1/workspaces/wsp_…/memory' \
-H 'Authorization: Bearer anx_live_…' \
-H 'Content-Type: application/json' \
-d '{"text":"…","scope":"workspace"}'/v1/workspaces/{wid}/memory/searchThe closest memories of one scope, best first
People, API keys and the sandbox's own task token
A ranking, not a list, so it isn't paged: up to limit results and meta {limit}. Supermemory has no stable total or order to page through. Same callers, scopes and errors as POST …/memory.
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
q | Inquery | Typestring | About |
scope | Inquery | Type"workspace" | "task" | About |
task? | Inquery | Typestring | About |
limit? | Inquery | Typeinteger | About |
Answer · 200
memoriesRecalled[]requiredidstringtextstringscorenumberHigher is closer
byMemoryByWho remembered it:
usr_…(a person),key_…(an API key),sbx_…(a sandbox's task token) or annex (saved journal notes); null for memories kept before 2026-11-18
metaobjectrequiredlimitinteger
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/memory/search' \
-H 'Authorization: Bearer anx_live_…'/v1/workspaces/{wid}/memory/{id}Forget a memory, by the id POST …/memory returned, in its scope only
People, API keys and the sandbox's own task token
Supermemory deletes inside one namespace, so an id from another scope is 404. Ids from a search may name a memory Supermemory learned rather than the text you sent; those aren't deleted here. A signed-in person may forget any memory; an API key or a task token only one it remembered itself (another's, a saved journal note's, or one from before writers were recorded, is 404).
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
id | Inpath | Typestring | About |
scope | Inquery | Type"workspace" | "task" | About |
task? | Inquery | Typestring | About |
Answer · 204
Forgotten
curl -X DELETE 'https://annex.eversonder.com/v1/workspaces/wsp_…/memory/id' \
-H 'Authorization: Bearer anx_live_…'/v1/workspaces/{wid}/memory/settingsThe workspace's memory settings (members and API keys)
People and API keys
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
Answer · 200
memory_settingsobjectrequiredsave_journalboolean
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/memory/settings' \
-H 'Authorization: Bearer anx_live_…'