Check a batch until it is ready, then retrieve its task IDs and results.
GET https://api.openmart.ai/api/v1/task/batch/:batch_id/statusUse this endpoint to check whether a batch is still processing or ready to read results. Keep polling until batch_ready becomes true.
Authentication. We recommend sending your API key as Authorization: Bearer <your_api_key>. If your current integration already uses X-API-Key: <your_api_key>, it will continue to work.
batch_id| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
batch_id | string | Yes | "5dbca0d5..." | The batch ID returned when you submit a batch enrichment request. |
curl --request GET \
--url https://api.openmart.ai/api/v1/task/batch/<batch_id>/status \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your_api_key>'{
"processing": 0,
"completed": 1,
"errored": 0,
"total": 1,
"batch_ready": true
}Match the error number or message in the response, then use the action below.
See Troubleshooting & FAQ for step-by-step help and the information to include when asking for support.