Job Lifecycle
Job States
Tracking Jobs
Polling
Webhooks (Recommended)
For production, use webhooks instead of polling:Processing Time
SLA target: < 60 seconds for a 50-page PDF.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Understanding extraction jobs and their lifecycle
| State | Description | Typical Duration |
|---|---|---|
pending | Queued, waiting for a worker | ~seconds |
processing | AI extraction in progress | 5-90 seconds |
completed | Extraction successful, ready to query | — |
failed | Error occurred during extraction | — |
curl -X GET https://api.docintell.com/v1/jobs/{job_id} \
-H "Authorization: Bearer dk_live_YOUR_API_KEY"
{
"job_id": "019370ab-c456-7def-8901-234567890def",
"status": "completed",
"processing_time_seconds": 45.2
}
curl -X POST https://api.docintell.com/v1/documents \
-H "Authorization: Bearer dk_live_YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "webhook_url=https://yourapp.com/webhooks"
| Document Type | Typical Time |
|---|---|
| Simple invoice | 5-10 seconds |
| Financial statement | 20-40 seconds |
| Large report (50+ pages) | 45-90 seconds |