Skip to main content

Re-ingest an existing document

POST 

/api/v1/documents/:document_id/ingest

Re-runs ingestion for an existing document against its already-stored source file. Existing chunks are discarded and the document is reset to status=pending before re-processing. Use this to recover a document stuck in processing/failed or to re-chunk with a different strategy without re-uploading the file. Async by default (202); pass ?async=false to run synchronously (201).

Request

Responses

Re-ingestion completed synchronously (only when ?async=false).