v13

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

Update Document File

Update a document by replacing its content with a new file and queueing re-ingestion.

post/documents/{document_id}/update_file

Path parameters

document_idstring required

Headers

authorizationstring nullable

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