Skip to main content
GET
List Batches

Query Parameters

after
string | null
limit
integer | null
default:20
Required range: 1 <= x <= 100

Response

Successful Response

data
BatchModel · object[]
required

A list of batch objects.

first_id
string | null
required

The ID of the first batch in the list.

last_id
string | null
required

The ID of the last batch in the list.

has_more
boolean
required

Whether there are more batches available after this list.

object
string
default:list

The object type, which is always list.

Allowed value: "list"