Skip to main content
GET
/
v1
/
batches
/
{id}
/
results
Get batch results
curl --request GET \
  --url https://gomodel.example.com/v1/batches/{id}/results \
  --header 'Authorization: <api-key>'
{
  "batch_id": "<string>",
  "data": [
    {
      "custom_id": "<string>",
      "error": {
        "message": "<string>",
        "type": "<string>"
      },
      "index": 123,
      "model": "<string>",
      "provider": "<string>",
      "response": "<unknown>",
      "status_code": 123,
      "url": "<string>"
    }
  ],
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Batch ID

Response

OK

batch_id
string
data
object[]
object
string