cURL
curl --request GET \ --url https://api.example.com/api/jobs/poll \ --header 'x-api-key: <api-key>'
{ "id": 123, "status": "PENDING", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "results": [ {} ] }
Check the status and results of a document processing job
ID of the job to check
Job status retrieved successfully
PENDING
PROCESSING
COMPLETED
FAILED