documents
Update a document
Partially updates a document's title, table assignment, tags, or metadata. Only provided fields are changed. metadata is merged key-by-key, not replaced wholesale.
patch/v1/documents/{id}
Path parameters
idstring required
Example:doc_abc123
Document ID
Request body
Example request
{
"title": "NDA Agreement - Updated",
"table_id": "tbl_archived",
"tags": [
"nda",
"archived"
],
"metadata": {
"reviewed_by": "Legal Team",
"status": "archived"
}
}Response
Document updated
Example response
{
"updated": true,
"document_id": "doc_abc123"
}