evals
evals
Day-bucketed eval-run activity
Changed onOne row per UTC day over the requested window, for the activity calendar — so a 12-month chart costs ~365 small rows instead of every raw eval run. Every day is present, including zero days. failed uses the same definition as GET /v1/eval-runs?outcome=failed (a completed run with at least one failing score), so clicking a cell and drilling into the list agrees with the chart. Server-side cached for 60s; the window is capped at 400 days.
get/v1/eval-runs/activity
Request
- The document declares no server URL.
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
created_fromstring date-time nullable
Inclusive lower bound; defaults to 365 days ago.
created_tostring date-time nullable
Upper bound; defaults to now. A date-only value (midnight) includes that whole day, matching the list endpoint.
scope'live' | 'simulation' | 'test' nullable
channelstring nullable
evaluator_idstring uuid nullable
agent_idstring uuid nullable
Response
Successful Response
Changes
- info
endpoint added
- info