Actions21
- Document Actions
- Category Actions
- Image Actions
- Relationship Type Actions
- Conversation Actions
- Employee Actions
- RAG Actions
- Document Structuring Actions
Document → Update
AI-generatedSummary
Updates an existing AgentBrains knowledge base document by ID, sending the selected fields in a PATCH request. Choose at least one field to update; attachments, relations, and tags must be valid JSON arrays.
Inputs
- ID (required) — ID of the document to update.
- Update Fields (required) — Select at least one field: attachments (JSON array of attachment IDs), category, content, description, details, name, relations (JSON array of relation objects), SKU, source, status (active, archived, or draft), or tags (JSON array). Only the selected fields are sent.
Output shape
One or more items containing the API response for the updated document.
The operation processes each input item and associates each result with its input item. Invalid JSON in attachments, relations, or tags, or an empty set of update fields, causes an error; with Continue On Fail enabled, errors are returned as error items.