Skip to main content

Re-ingest an existing document

POST 

/v1/projects/:project_id/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. Background by default (202); pass ?wait=true to run synchronously (201).

Request​

Responses​

Re-ingestion completed synchronously (only when ?wait=true).