Get document ingestion status
GET/api/v1/documents/:document_id/status
Returns a lightweight ingestion status payload for polling — status,
chunk_count, total_pages, and (when failed) error. Unlike
GET /documents/{document_id}, it never returns the assembled chunk
content, so it is cheap to poll on large documents. A document whose
ingestion has stalled (no progress past the configured timeout) is
transitioned to failed with error=INGESTION_TIMEOUT on read.
Request
Responses
- 200
- 401
- 403
- 404
Document ingestion status
Unauthorized
Forbidden
Document not found