OpenAIOpenAI API
GET/batches
Read list Batches.
Contract-preserving GET Endpoint for list Batches in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
listBatches- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
after
querystring
after value in the OpenAI API contract.
limit
queryinteger
limit value in the OpenAI API contract.
Responses
200
ListBatchesResponseapplication/json
Successful supplier response.
Properties: datafirst_idhas_morelast_idobject
{
"data": {
"cancelled_at": 0,
"cancelling_at": 0,
"completed_at": 0,
"created_at": 0,
"errors": {
"data": {}
}
},
"first_id": "batch_abc123",
"has_more": false,
"last_id": "batch_abc456",
"object": "list"
}