Get document ingestion status
GET/v1/projects/:project_id/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
- 400
- 401
- 403
- 404
- 429
- 500
Document ingestion status
The request was malformed or failed validation.
Unauthorized
Forbidden
Document not found
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded