List batches
Changed onList batches from the selected provider using customer-owned credentials. The response is relayed in the provider's OpenAI-compatible shape.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/v1/batches
- AuthHTTP bearer
Query parameters
Provider route, for example openai or parasail.
Provider pagination cursor.
Maximum batches requested from the provider.
Response
OpenAI-compatible batch list.
Example response
{
"data": [
{
"id": "batch_abc123",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file-abc123",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1710000000,
"request_counts": {
"total": 100,
"completed": 97,
"failed": 3
}
}
]
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
api operation id
openAiBatch_api_v1_batches_retrieveremoved and replaced withapi_v1_batches_retrieve - info
api tag
OpenAI Batchadded - info
api tag
openAiBatchremoved - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking
- info
added the non-success response with the status
- info
the response property
became required for the status - info
the response property
became required for the status
- info