Skip to main content
New to Corsair? See API access, authentication, and error handling.

Connectors

create

connectors.create Create connector. Connect an external source to this namespace. OAuth providers return an authorization url to send the user to; providers that authenticate with config start syncing right away. Needs the Pro plan (the free plan answers 403). Risk: write
Input
Output

delete

connectors.delete Delete connector. Disconnect a connector and stop its webhooks. Its imported documents are deleted too unless deleteDocuments is false. Risk: destructive · Irreversible
Input Output

get

connectors.get Get connector. Read one connector. Add include=syncs to include its recent sync runs and the items that failed. include=picker needs an admin with write access, since the link changes what syncs. Risk: read
Input Output

list

connectors.list List connectors. List the connectors that sync into this namespace. Risk: read
Input Output

listAll

connectors.listAll List all connectors. List connectors across every namespace this key can read. Use it for admin views that span users or projects. Risk: read
Input Output

sync

connectors.sync Sync connector. Start a sync now. Returns 409 while a sync for this connector is already running. Risk: write
Input Output

update

connectors.update Update connector. Change what a connector syncs. A new selection replaces the old one and starts a sync. Risk: write
Input
Output

Documents

add

documents.add Add document. Turn text or a supported URL into searchable, evolving memory. Supply a new ID to create a document, or reuse an existing ID to append new information while preserving its history. Risk: write
Input Output

batchAdd

documents.batchAdd Batch add documents. Build a knowledge base efficiently by ingesting up to 600 text or URL documents at once. Existing caller-defined IDs append new information using the same semantics as single-document ingestion. Risk: write
Input
Output

delete

documents.delete Delete documents. Permanently remove documents and their derived knowledge by document ID or caller-defined ID. Each requested ID is handled independently so successful deletions are preserved when another ID fails. Deletes the documents and the memories extracted from them; cannot be undone. Risk: destructive · Irreversible
Input Output

get

documents.get Get document. Retrieve a document’s canonical content, metadata, and processing state by document ID or caller-defined ID. Optionally include its source chunks, derived memories, or both in the same response. Risk: read
Input Output

memoryCounts

documents.memoryCounts Count document memories. Count live memories in this namespace for up to 100 public document IDs. Missing or inaccessible documents are omitted, not reported as zero. Risk: read
Input Output

replaceWithFile

documents.replaceWithFile Replace document with file. Replace an existing document with a new file while keeping its stable document ID. Content and caller metadata are overwritten, then the document is reprocessed asynchronously. Risk: destructive · Irreversible
Input
Output

update

documents.update Update document. Refresh an existing document without changing its stable ID. Supplied content replaces the canonical content and is reprocessed; omitted fields remain unchanged. Risk: write
Input Output

updateFile

documents.updateFile Partially update document file. Refresh only the file-backed fields you provide. Supplying a file replaces the canonical content; omitted metadata and processing context remain unchanged. Risk: write
Input
Output

uploadFile

documents.uploadFile Upload file. Transform an uploaded file into searchable knowledge and learned memory. The response returns as soon as ingestion is safely queued while extraction and memory formation continue asynchronously. Risk: write
Input
Output

Feedback

send

feedback.send Send feedback. Report a bug, request a feature or flag a docs problem to the Supermemory team. Built for AI agents: send structured JSON and an engineer picks it up. Authentication is optional for requests with a usable client IP. Cross-zone Cloudflare Worker requests and requests without a client IP must provide an API key. Sends a message to Supermemory; it is not undone. Risk: destructive · Irreversible
Input Output

Graph

get

graph.get Get memory graph. Page through a namespace’s documents with their memories as graph nodes and edges, for example to render @supermemory/memory-graph. Pass nextCursor back as cursor until it is null. Risk: read
Input
Output

Legacy

connections.configure

legacy.connections.configure Legacy v3/v4 route. Configure connection. Configure resources for a connection (supported providers: GitHub for now) Risk: write
Input Output

connections.create

legacy.connections.create Legacy v3/v4 route. Create connection. Initialize connection and get authorization URL. Returns an authorization link the account owner opens to connect the app. Needs the Pro plan (the free plan answers 403). Risk: write
Input Output

connections.delete

legacy.connections.delete Legacy v3/v4 route. Delete connection by ID. Delete a specific connection by ID. Risk: destructive · Irreversible
Input Output: object[]

connections.deleteByProvider

legacy.connections.deleteByProvider Legacy v3/v4 route. Delete connection for a specific provider and container tags. Risk: destructive · Irreversible
Input Output: object[]

connections.documents

legacy.connections.documents Legacy v3/v4 route. List documents indexed for a provider and container tags. Risk: read
Input Output: object[]

connections.get

legacy.connections.get Legacy v3/v4 route. Get connection details with id. Risk: read
Input Output

connections.getByProvider

legacy.connections.getByProvider Legacy v3/v4 route. Get connection details with provider and container tags. Risk: read
Input Output

connections.list

legacy.connections.list Legacy v3/v4 route. List connections. List all connections. Risk: read
Input Output: object[]

connections.resources

legacy.connections.resources Legacy v3/v4 route. Fetch resources for a connection (supported providers: GitHub for now) Risk: read
Input Output

connections.sync

legacy.connections.sync Legacy v3/v4 route. Sync connection. Initiate a manual sync of connections. Risk: write
Input Output

containerTags.delete

legacy.containerTags.delete Legacy v3/v4 route. Delete container tag. Delete a container tag and all its documents and memories. Only organization owners and admins can perform this action. Risk: destructive · Irreversible
Input Output

containerTags.get

legacy.containerTags.get Legacy v3/v4 route. Get container tag settings. Get settings for a container tag. Risk: read
Input Output

containerTags.list

legacy.containerTags.list Legacy v3/v4 route. List all container tags with isNova flag. Risk: read
Input Output: object[]

containerTags.merge

legacy.containerTags.merge Legacy v3/v4 route. Merge container tags. Merge multiple container tags into a target tag. All documents from the source tags will be updated to reference the target tag, and the source tags will be deleted after successful merge. Risk: destructive · Irreversible
Input Output

containerTags.mergeStatus

legacy.containerTags.mergeStatus Legacy v3/v4 route. Get container tag merge status. Get queued container tag merge status. Risk: read
Input Output

containerTags.update

legacy.containerTags.update Legacy v3/v4 route. Update container tag settings. Update settings for a container tag. Risk: write
Input
Output

conversations.ingest

legacy.conversations.ingest Legacy v3/v4 route. Ingest or update a conversation. Risk: write
Input
Output

documents.add

legacy.documents.add Legacy v3/v4 route. Add document. Add a document with any content type (text, url, file, etc.) and metadata. Risk: write
Input Output

documents.batchAdd

legacy.documents.batchAdd Legacy v3/v4 route. Batch add documents. Add multiple documents in a single request. Each document can have any content type (text, url, file, etc.) and metadata. Risk: write
Input
Output

documents.bulkDelete

legacy.documents.bulkDelete Legacy v3/v4 route. Bulk delete documents by IDs or container tags. Risk: destructive · Irreversible
Input Output

documents.chunks

legacy.documents.chunks Legacy v3/v4 route. Get document chunks. Get all chunks for a document, ordered by position. Risk: read
Input Output

documents.delete

legacy.documents.delete Legacy v3/v4 route. Delete document by ID or customId. Delete a document by ID or customId. Risk: destructive · Irreversible
Input Output

documents.fileUrl

legacy.documents.fileUrl Legacy v3/v4 route. Get presigned file URL. Get a fresh presigned URL for a document’s file. Returns a time-limited URL (24h) that can be used to download the file. Risk: read
Input Output

documents.get

legacy.documents.get Legacy v3/v4 route. Get document. Get a document by ID. Risk: read
Input Output

documents.list

legacy.documents.list Legacy v3/v4 route. List documents. Retrieves a paginated list of documents with their metadata and workflow status. Risk: read
Input
Output

documents.listProcessing

legacy.documents.listProcessing Legacy v3/v4 route. Get processing documents. Get documents that are currently being processed. Default view=active is the live in-flight queue. view=pending is every unfinished document with no time cutoff. view=all also includes failed documents, paginated. Risk: read
Input Output

legacy.documents.search Legacy v3/v4 route. Search documents. Search memories with advanced filtering. Risk: read
Input
Output

documents.update

legacy.documents.update Legacy v3/v4 route. Update document. Update a document with any content type (text, url, file, etc.) and metadata. Risk: write
Input Output

documents.uploadFile

legacy.documents.uploadFile Legacy v3/v4 route. Upload a file to be processed. Risk: write
Input
Output

memories.create

legacy.memories.create Legacy v3/v4 route. Create memories directly, bypassing the document ingestion workflow. Generates embeddings and makes them immediately searchable. Risk: write
Input
Output

memories.forget

legacy.memories.forget Legacy v3/v4 route. Forget a memory. Forget (soft delete) a memory entry. The memory is marked as forgotten but not permanently deleted. Risk: destructive · Irreversible
Input Output

memories.forgetMatching

legacy.memories.forgetMatching Legacy v3/v4 route. Forget memories matching a prompt/query. Agentic mass-forget. Given a prompt or query, a tool-calling agent searches the container’s memories and soft-deletes everything matching the target. Use dryRun to preview first. Risk: destructive · Irreversible
Input Output

memories.list

legacy.memories.list Legacy v3/v4 route. List memory entries with history. List all latest memory entries from specified container tags with their update history and source documents. Risk: read
Input
Output

legacy.memories.search Legacy v3/v4 route. Search memory entries - Low latency for conversational. Risk: read
Input
Output

memories.update

legacy.memories.update Legacy v3/v4 route. Update a memory by creating a new version. The original memory is preserved with isLatest=false. Risk: write
Input
Output

profile.buckets

legacy.profile.buckets Legacy v3/v4 route. Get profile buckets. Returns the effective profile bucket definitions for a given container tag — org-level buckets merged with any container-tag-level additions. Risk: read
Input Output

profile.get

legacy.profile.get Legacy v3/v4 route. Get user profile with optional search results. Risk: read
Input
Output

settings.get

legacy.settings.get Legacy v3/v4 route. Get settings for an organization. Risk: read
Input: empty object Output

settings.reset

legacy.settings.reset Legacy v3/v4 route. Reset organization content: removes documents, memories, spaces (except default project), connections, and org settings. Preserves the org, members, and billing. Deletes every document and memory in the organization; cannot be undone. Risk: destructive · Irreversible
Input Output

settings.suggestBuckets

legacy.settings.suggestBuckets Legacy v3/v4 route. Suggest profile bucket definitions based on the organization context prompt. Returns 3–6 bucket suggestions tailored to the use-case described in the prompt. Risk: read
Input: empty object Output

settings.update

legacy.settings.update Legacy v3/v4 route. Update settings for an organization. Risk: write
Input
Output

Memories

forget

memories.forget Forget memories by ID. Remove exact memories from normal recall while preserving their audit history. Each ID is handled independently and any missing or ineligible memory is reported without rolling back successful changes. Forgets the memories with these ids; cannot be undone. Risk: destructive · Irreversible
Input Output

forgetMatching

memories.forgetMatching Forget memories semantically. Describe what should be forgotten in natural language, then preview or apply the matching set. Use dry-run results with the exact-ID endpoint when you need a reviewable, drift-free workflow. Forgets every memory the query matches; cannot be undone. Risk: destructive · Irreversible
Input Output

get

memories.get Get memory. Retrieve one memory by ID. Optionally include its versions (up to three steps away, nearest first), its direct extends and derives links, up to relatedLimit each, and its source document. Risk: read
Input Output

Namespaces

delete

namespaces.delete Delete namespace. Retire a namespace by permanently deleting its content, or preserve that knowledge by moving everything into another namespace first. Moves are queued and complete asynchronously. Deletes the namespace and everything in it unless moveTo names a namespace to move the content into; cannot be undone. Risk: destructive · Irreversible
Input Output: object

get

namespaces.get Get namespace settings. Read the supporting context that helps Supermemory understand content and form better memories inside this namespace. Risk: read
Input Output

list

namespaces.list List namespaces. Discover every namespace available to the caller, including its purpose, document volume, memory count, and lifecycle timestamps. Risk: read
Input Output

update

namespaces.update Update namespace settings. Shape how Supermemory understands an existing namespace by updating the background context used during ingestion and memory formation. Risk: write
Input Output

Organization

get

organization.get Get organization settings. Read the shared background that guides memory formation across the organization, together with the number of active namespaces. Risk: read
Input: empty object Output

update

organization.update Update organization settings. Give Supermemory organization-wide background that improves how content is interpreted across every namespace. Send null to remove the existing context. Risk: write
Input Output

Profiles

buckets.delete

profiles.buckets.delete Delete profile buckets. Remove profile categories created specifically for this namespace. Unknown names are safely ignored, while organization-wide buckets remain protected. Risk: destructive · Irreversible
Input Output

buckets.get

profiles.buckets.get Get profile buckets. Inspect the profile taxonomy active in this namespace. The response combines organization-wide buckets with namespace-owned additions as a concise name-to-description map. Risk: read
Input Output

buckets.set

profiles.buckets.set Add or update profile buckets. Teach Supermemory new ways to organize this namespace’s profile, or refine how existing namespace-owned buckets are classified. Omitted buckets remain unchanged and organization-wide buckets stay protected. Risk: write
Input Output

get

profiles.get Get profile. Read a continuously maintained understanding of the subject represented by this namespace. Stable facts, evolving context, and selected custom buckets are returned together without requiring a search query. Risk: read
Input
Output

Resources

list

resources.list List resources. Browse documents, source chunks, or learned memories through one predictable paginated contract. Choose the collection in the path; the other collection arrays remain empty for a stable response shape. When listing documents, set include.content to include the last published extracted text. Risk: read
Input
Output

query

search.query Search memories. Recall the most relevant learned context and source passages from a namespace. Hybrid search combines memories with document chunks by default, with optional query rewriting, reranking, and supporting context attachments. Risk: read
Input
Output