The result of each request of a batch so far
get/models/v1/batches/{id}/results
The result of each request of a batch so far: its answer, or its error with the reason and whether sending it again can help.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
models:read- Graphql
Query.modelsBatchResults- Sdk
models.batch.results- Cli
models batch results
Parameters
- idstring (uuid)requiredIn the path
Responses
- 200application/jsonSuccess
- batchobjectrequired
- idstringrequired
- objectbatchrequired
- kindstringrequired
- statestringrequiredOne of: queued, running, completed, cancelled, failed.
- idempotencyKeystringrequired
- countsobjectrequired
- totalnumberrequired
- donenumberrequired
- failednumberrequired
- costUsdnumberrequired
- createdAtstringrequired
- startedAtstring or nullrequired
- endedAtstring or nullrequired
- resultslist of objectrequired
- idstringrequired
- okbooleanrequired
- batchobjectrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring