Skip to main content
POST
/
evaluations
/
retry
Retry failed evaluations
curl --request POST \
  --url https://api.galtea.ai/evaluations/retry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "id_1",
    "id_2"
  ]
}
'
{
  "retried": 123,
  "skipped": 123,
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Body

application/json
ids
string[]
required

Array of evaluation IDs to retry

Example:
["id_1", "id_2"]

Response

Retry request accepted

retried
integer

Number of evaluations successfully queued for retry

skipped
integer

Number of evaluations skipped (not FAILED or exceeded max retries)

errors
string[]

Error messages for failed retries