Documents
Get document ingestion 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.
get/v1/projects/{project_id}/documents/{document_id}/status
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/documents/{document_id}/status
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
document_idstring required
Example:doc_V1StGXR8Z5jdHi6B
Document ID
Response
Document ingestion status
Example response
{
"id": "doc_V1StGXR8Z5jdHi6B",
"status": "ready",
"chunk_count": 10,
"total_chunks": 12,
"total_pages": 12,
"progress": 100,
"error": {
"code": "AI_PROVIDER_ERROR",
"message": "Provider returned 402: insufficient credits"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.