Skip to main content
GET
/
v1
/
batches
/
{batch_id}
/
results
Get Batch Results
curl --request GET \
  --url http://localhost:8080/v1/batches/{batch_id}/results \
  --header 'x-model-provider: <x-model-provider>'
{
  "batch_id": "<string>",
  "results": [
    {
      "custom_id": "<string>",
      "response": {
        "status_code": 123,
        "request_id": "<string>",
        "body": {}
      },
      "error": {
        "code": "<string>",
        "message": "<string>"
      }
    }
  ],
  "has_more": true,
  "extra_fields": "<unknown>"
}

Headers

x-model-provider
string
required

The model provider

Path Parameters

batch_id
string
required

The ID of the batch

Response

200 - application/json

Batch results

batch_id
string
results
object[]
has_more
boolean
extra_fields
any