Python SDK
Utilities
Poll Job
Check the status and retrieve results of an asynchronous job
(submitted via any endpoint with async: true).
GET
Python SDK
Overview
Check the status and retrieve results of an asynchronous job (e.g., submitted via/extract with async: true).
Poll this endpoint periodically until the job reaches a terminal state (completed, failed, or canceled).
Response
The response includes job metadata and, when completed, the full extraction results.Response Fields
| Field | Type | Description |
|---|---|---|
job_id | string | Unique identifier for the extraction job. |
status | string | Current job status: pending, processing, completed, failed, or canceled. |
created_at | string | ISO 8601 timestamp when the job was submitted. |
updated_at | string | ISO 8601 timestamp of the last status update. |
result | object | Extraction output (only present when status is completed). See Extract for result structure. |
error | string | Error message (only present when status is failed). |
Job Status Values
| Status | Description |
|---|---|
pending | Job is queued and waiting to be processed. |
processing | Job is currently being processed. |
completed | Job finished successfully. Results are available in the result field. |
failed | Job encountered an error. See error field for details. |
canceled | Job was canceled before completion. |
Polling Strategy
We recommend polling with exponential backoff:Example Usage
Check Job Status
Complete Async Workflow
For webhook-based notifications instead of polling, see the Webhooks documentation.
Authorizations
API key for authentication
Path Parameters
Identifier returned from an async job submission.
Response
Current job status payload
Current status and metadata for an asynchronous job.
Identifier assigned to the asynchronous job.
Lifecycle status for an asynchronous job.
Available options:
pending, processing, completed, failed, canceled Timestamp when the job was accepted.
Timestamp of the last status update, if available.
Structured payload when the job is completed.
Error message describing why the job failed, if applicable.
