Skip to main content
GET
List Batches
List all batch jobs for the authenticated user, ordered by creation time (newest first).
integer
default:"20"
The maximum number of batches to return. The API may return fewer batches than the specified limit.
string
A cursor for pagination. Use the ID of the last batch from the previous page to get the next page of results.

Returns

string
The object type, which is always list.
array
An array of batch objects.
string or null
The ID of the first batch in the list, useful for pagination.
string or null
The ID of the last batch in the list, useful for pagination.
boolean
Indicates whether there are more batches available beyond this page.
Last modified on December 7, 2025