Update document
PATCH/v1/default/banks/:bank_id/documents/:document_id
Update mutable fields on a document without re-processing its content.
Tags (tags): The array REPLACES the document's tags, it is not merged into them — send the complete set you want the document to end up with, and any tag you leave out is dropped. An empty array ([]) therefore clears every tag; only omitting the field entirely is rejected (422).
The new tags are propagated to all associated memory units. Observations derived from those units are invalidated and queued for re-consolidation under the new tags. Co-source memories from other documents that shared those observations are also reset. Tags are compared as a set, so re-sending the tags a document already has (in any order) changes nothing and queues no re-consolidation.
At least one field must be provided.
Authentication required — include an
Authorization: Bearer hsk_...header. See Authentication for details.
Request
Responses
- 200
- 422
Successful Response
Validation Error