List batches
Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's last_id as after. List items omit results. Use GET /batches/{id} to get them. See the Batch API Quickstart.
Query parameters
Maximum number of batches to return, from 1 through 100.
Maximum number of batches to return, from 1 through 100.
Batch id from the previous page's last_id.
Batch id from the previous page's last_id.
Repeat this parameter to include more than one status.
Repeat this parameter to include more than one status.
[ "completed", "failed" ]
Only include batches created strictly after this timestamp.
Only include batches created strictly before this timestamp.
Response
A newest-first page of batches.
Example response
{
"data": [],
"first_id": null,
"has_more": false,
"last_id": null,
"object": "list"
}Changes
Changed in 1 of the 303 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○