v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-226780228.2 KB
Documents

Update Document Metadata

Update only a document's metadata.

post/documents/{document_id}/update_metadata

Path parameters

document_idstring required

Headers

authorizationstring nullable

Request body

metadataobject

Metadata fields to merge into the document.

metadata_typesobject nullable

Optional per-field type hints: 'string', 'number', 'decimal', 'datetime', 'date', 'boolean', 'array', 'object'. Enables typed comparisons.

Response

Successful Response

external_idstring
content_typestring required
filenamestring nullable
metadataobject
metadata_typesobject
storage_infoobject
system_metadataobject
additional_metadataobject
chunk_idsstring[]
summary_storage_keystring nullable
summary_versioninteger nullable
summary_bucketstring nullable
summary_updated_atstring nullable
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable
folder_pathstring nullable
folder_idstring nullable