Batch jobs allow for asynchronous processing of long-running operations. Poll the batch job endpoint to check status and retrieve results when complete
Get the status of a batch job by ID.
The response includes:
status: Current job status (queued, processing, completed, failed)lastUpdatedDateTime: When the status was last updatedretryAfterSeconds: Recommended polling interval (only when status is processing)location: Result resource URL (only when status is completed)Batch Job Response
Unauthorized
Forbidden
Not Found
Internal Server Error
General Error
{- "data": {
- "type": "batch-jobs",
- "id": "c9f53621-86c3-4e5a-97f7-56165388cf41",
- "attributes": {
- "status": "queued",
- "lastUpdatedDateTime": "2019-08-24T14:15:22Z",
- "retryAfterSeconds": 0,
- "location": "string"
},
}
}