Get Document
Reference for GET /v1/extractions/:extraction_id/documents/:document_id.
GET /v1/extractions/:extraction_id/documents/:document_id
Retrieves status, metadata, and extracted data for a single document within an extraction job. Both IDs are required — the API validates that the document belongs to the specified extraction.
Use cases
- Retry fetching a result after a webhook delivery failure
- Fetch one document from a large batch without downloading all results
- Verify a single file's extraction status and confidence
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
extraction_id | string | ✅ | The extraction job ID. |
document_id | string | ✅ | The document ID (from submit response, status, or webhook payload). |
Response 200 OK
Common Error Responses
| HTTP Status | Error Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing API key. |
404 | RESOURCE_NOT_FOUND | Extraction or document not found, or document does not belong to the extraction. |