Skip to main content
These operations act on extracted memories (not raw documents). Every call is scoped to one namespace (what v3/v4 called a container tag).For document management (list, get, update, delete), see Document Operations. For ingesting raw content (text, files, URLs) through the processing pipeline, see Add Context.

Create memories

v5 has no direct memory-create route. Ingest a document instead and Supermemory extracts the memories from it. When you already know the exact facts, send them as short statements with dreaming: "instant" so they are searchable right away.
Reusing the same id later appends to that document instead of creating a new one. See Updating Content.

Forget Memories

Soft-delete memories by ID. Forgotten memories are excluded from search results but preserved. Pass 1 to 500 IDs.

Parameters

Response

HTTP success does not imply every requested ID changed. Check errors.

Forget matching

Forget by meaning. Give a query (a prompt or topic) and the service semantically searches the namespace, decides which memories are genuinely about your target, and soft-deletes those — use this for “forget everything about X”.
This is a bulk, destructive operation. dryRun is required. Call with dryRun: true first to review what would be forgotten, then apply. The match is semantic, so a too-broad query can select more than you intend.

Parameters

Response

Both dry-run and applied requests return the same shape as Forget Memories:
The payload does not say which mode was sent, so keep your own record of dryRun next to audit logs.
Exact, bound deletes. Re-running forgetMatching with dryRun: false re-runs the semantic match, so the result can drift from the preview if the namespace changed in between. To forget precisely what you reviewed, take the ids from the dryRun preview and send them to memories.forget — the delete is then bound to exactly that set.

Update Memory

v5 has no direct memory-update route. Update the source document instead; Supermemory reprocesses it and the memories follow.
See Update Document.

Next steps