Retrieve batch status
Changed onUse this method to monitor a batch. The response includes the current batch status and counts for queued, processing, ready, failed, and canceled items.
Poll this method until the batch reaches the completed, canceled, or expired status. To retrieve the results, call the GET method of the /analyze/batches/{batch_id}/results endpoint.
Do not treat the completed status as a success signal. It means processing has finished for every item, not that every analysis succeeded. To see how many items succeeded, failed, or were canceled, check the ready_items, failed_items, and canceled_items fields. A batch never has the failed status.
Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/analyze/batches/{batch_id}
- Auth: API key in header x-api-key
Path parameters
The unique identifier of the batch.
Response
Batch status retrieved successfully. The response includes batch details and item counts for each item status.
Changes
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
x-api-keywas added to the API
- warning
- info
api operation id
retrieveremoved and replaced withanalyzeAsync_batches_retrieve
- info