After a batch is ready, fetch task IDs for completed tasks so you can retrieve final task results.
GET https://api.openmart.ai/api/v1/task/batch/:batch_id/task_ids?status=COMPLETEDUse this endpoint after batch_ready is true. Replace <batch_id> with your batch ID.
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_idstatus| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
batch_id | string | Yes | "183219bc..." | The batch ID returned when you submit a batch request. |
status | string | No | "COMPLETED" | Optional status filter for returned task IDs (for example COMPLETED). |
curl --request GET \
--url https://api.openmart.ai/api/v1/task/batch/<batch_id>/task_ids?status=COMPLETED \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your_api_key>'[
"2fc8b627-1111-2222-3333-123456789abc"
]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.