Documents
Update Document
Updates a document by uploading a new file, then re-indexes it. This is the canonical endpoint for file-based document updates. Track progress with the returned batch ID via Get Document Indexing Status.
patch/datasets/{dataset_id}/documents/{document_id}
Path parameters
dataset_idstring uuid required
Knowledge base ID. From List Knowledge Bases.
document_idstring uuid required
Document ID. From List Documents.
Response
Document updated successfully.