GET/v1/training/{run_id}/metrics

Read training metrics

Read train and eval metrics. Fields depend on the recipe. Use next_after when present, even for an empty page; otherwise keep the last metric ID. Compare completed baseline and final evaluations on the same held-out tasks.

Authentication: Bearer API key in the Authorization header

Path parameters

  • run_idstringrequired

Query parameters

  • afterinteger
    Default: 0
  • limitinteger
    Default: 500

Responses

  • 200

    Success. Example response excerpt.

  • 422

    Invalid request.

    Response
    • detailarray<object>
      detail
      • ctxobject
      • inputany
      • locarray<string | integer>required
      • msgstringrequired
      • typestringrequired

Request

curl 'https://api.staging.experientiallabs.ai/v1/training/00000000-0000-4000-8000-000000000005/metrics?after=0&limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "metrics": [
    {
      "id": 42,
      "at": "2026-11-20T01:00:00Z",
      "kind": "eval",
      "optimizer_step": 50,
      "data": {
        "score": 0.5,
        "tasks": 32,
        "complete": true,
        "baseline": false
      }
    }
  ],
  "next_after": 42
}

https://api.staging.experientiallabs.ai/v1/training/00000000-0000-4000-8000-000000000005/metrics?after=0&limit=50