List Batches

List batch jobs belonging to the authenticated user.

List the batch jobs of the API key's workspace, most recent first. Every key in the workspace sees the same batches.

GET /v1/batches

Query parameters

limitintegeroptionalDefault 20

Maximum number of batches to return, from 1 to 100. Values outside that range are clamped.

afterstringoptional

Cursor for pagination. Pass the id of the last batch from the previous page. An id that isn't a batch in your workspace returns 400.

Response

object'list'optional

Always list.

dataBatch[]optional

Array of Batch objects.

has_morebooleanoptional

true when more pages exist.

first_idstringoptional

id of the first item on this page.

last_idstringoptional

id of the last item on this page.

This endpoint reads batch status from the local record and does not force a live status refresh - use Retrieve batch for the latest status of a specific job.