Documents

Update Document Metadata

Update only a document's metadata.

Args: document_id: ID of the document to update metadata_updates: New metadata to merge with existing metadata auth: Authentication context

Returns: Document: Updated document metadata

post/documents/{document_id}/update_metadata

Path parameters

document_idstring required

Headers

authorizationstring

Request body

object required

Response

Successful Response

external_idstring
content_typestring required
filenamestring nullable
metadataobject
storage_infoobject
system_metadataobject
additional_metadataobject
chunk_idsstring[]
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable

Changes