v1
latestOpenAPI 3.0.32026-07-222085264.6 KBGet the status and download URLs for a batch job
Poll the current state of a batch job. The status moves pending → processing → completed or failed. When the job is completed, the response includes a download_url for the merged results file and download_urls for the same data split into parts; both are pre-signed links valid for 5 days. When the job is failed, error_message carries a human-readable reason.
Results files are gzipped JSONL (one record per line). Enrichment job records are wrapped in an {original_identifier, internal_id, data} envelope; search job records are flat and match the corresponding non-batch endpoint's record shape.
The x-api-version header is not required on this endpoint.
Path parameters
The batch job ID returned at submit time.
Response
Current state of the batch job, with download links when completed
Example response
{
"batch_id": "53ab686b-c054-496b-8baf-baff5ecc85cf",
"status": "completed",
"entity": "company",
"action": "enrich",
"identifier_count": 2,
"result_count": 2,
"entities_requested": 2,
"entities_fulfilled": 2,
"created_at": "2026-06-12T12:23:03.945900+00:00",
"completed_at": "2026-06-12T12:23:15.993293+00:00",
"download_url": "https://crustdata-batch-api-data.s3.amazonaws.com/53ab686b-c054-496b-8baf-baff5ecc85cf/output/results.jsonl.gz",
"download_urls": [
"https://crustdata-batch-api-data.s3.amazonaws.com/53ab686b-c054-496b-8baf-baff5ecc85cf/output/part-000.jsonl.gz"
]
}