Documents

Update Document

Update an existing document by uploading a new file. This is the canonical endpoint for file-based document updates. Re-triggers indexing; use the returned batch ID with Get Document Indexing Status to track progress.

patch/datasets/{dataset_id}/documents/{document_id}

Path parameters

dataset_idstring uuid required

Knowledge base ID.

document_idstring uuid required

Document ID.

Response

Document updated successfully.

batchstring

Batch ID for tracking indexing progress.

Changes