Job & Batch Status
Get job status
GET /api/v1/jobs/{job_id}
curl https://policynumbers.com/api/v1/jobs/3fa85f64-... \
-H "Authorization: Bearer pk_live_xxxxxxxxxxxx"
status | Meaning |
|---|---|
pending | Queued or running |
complete | Finished — result fields populated |
failed | Processing error |
Get batch status
GET /api/v1/batches/{batch_id}
curl https://policynumbers.com/api/v1/batches/b1234567-... \
-H "Authorization: Bearer pk_live_xxxxxxxxxxxx"
Returns the batch with per-policy results when complete.