v1

latestOpenAPI 3.1.0MIT2026-07-132429592.7 MB
Batch

List your organization's batches.

get/batches

Query parameters

afterstring

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

limitinteger

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

Response

Batch listed successfully.

first_idstring
last_idstring
has_moreboolean required
object'list' required

Example response

{
  "first_id": "batch_abc123",
  "last_id": "batch_abc456"
}