namespace (what v3/v4 called a container tag).
List documents
Retrieve paginated documents with filtering. Onelist call serves documents, chunks, and memories; pick with type.
- TypeScript
- Python
- cURL
documents, chunks, memories, and pagination. Only the array for the requested type is filled.
Parameters
namespace and type are required. Pagination and sorting are query parameters (top-level keys in the SDK); filter goes in body.
Pagination example
Pagination example
Filter by metadata
Filter by metadata
Get document
Get a specific document with its processing status. Passinclude to include its chunks and memories.
- TypeScript
- Python
- cURL
id may be the Supermemory document ID or the id you supplied at ingestion. It resolves only inside the namespace in the path.
Processing status
Poll for completion
Poll for completion
Update document
Update a document’s content or metadata. Content changes trigger full reprocessing; metadata-only changes (e.g. updatingaccepted, version) do not reindex. The body accepts any non-empty subset of content, metadata, supportingContext, group, or date.
- TypeScript
- Python
- cURL
documents.updateFile (PATCH: partial, file optional, metadata merges key by key) or documents.replaceWithFile (POST: full replace, file required, omitted metadata keys are cleared).
Delete documents
Permanently remove documents. One call deletes 1 to 100 documents by Supermemory or caller-defined ID.- TypeScript
- Python
- cURL
count and per-ID errors; HTTP success can include partial failures.
Processing queue
There is no separate processing endpoint. List documents and readsystem.status on each item.
- TypeScript
- Python
- cURL
Next steps
- Memory Operations — Forget memories
- Search — Query your memories
- Ingesting Content — Add new content