Actions22
- Chat Actions
- Container Tag Actions
- Conversation Actions
- Document Actions
- Memory Actions
- Profile Actions
- Search Actions
Document → Update
AI-generatedSummary
Update a document in Supermemory.
Inputs
- documentId (required) — Unique ID of the document to update.
- updateFields — Fields used to update the document, including container tag, content, custom ID, metadata, and task type.
- customId — New custom identifier for the document.
- metadata — Custom key-value metadata for filtering and context.
- taskType — Processing pipeline to use for this document (memory or SuperRAG).
Output shape
updated document object
Represents the updated document; may include all returned fields such as id, content, containerTag, metadata, etc., but no pagination envelope.
Examples
Example 1: Update a document's content and move it to a different container tag
Set Document ID, provide Update Fields with new Content and Container Tag, optionally set Custom ID and Metadata, and choose Task Type.
Example 2: Add custom ID and metadata to an existing document
Provide Document ID, set Update Fields.metadata with key/value pairs, optionally set Custom ID, and optionally set other update fields.
