Data Endpoints
GET /results
Get current run results with aggregated statistics. Response:GET /api/runs/{run_id}/results/{index}
Get a single result by index.
run_id: Run ID or"latest"index: 0-based result index
Run Management
POST /api/runs/rerun
Rerun evaluations. Omitindices to rerun all.
Request:
POST /api/runs/new
Create a new run. Request:POST /api/runs/stop
Stop all running/pending evaluations. Response:PATCH /api/runs/{run_id}
Rename a run.
Request:
DELETE /api/runs/{run_id}
Delete a run.
Response:
Result Updates
PATCH /api/runs/{run_id}/results/{index}
Update annotations or scores on a result.
Request:
Only
annotation, annotations, and scores fields can be updated.Export
GET /api/runs/{run_id}/export/json
Download run results as JSON file.
GET /api/runs/{run_id}/export/csv
Download run results as CSV file.
POST /api/runs/{run_id}/export/markdown
Generate a Markdown report with ASCII bar charts and filtered results table.
Request:
Sessions
GET /api/sessions
List all session names. Response:GET /api/sessions/{session_name}/runs
List all runs in a session.
Response:
DELETE /api/sessions/{session_name}
Delete a session and all its runs.
Response:
POST /api/runs/{run_id}/activate
Switch the active run being viewed.
Response:
GET /api/runs/{run_id}/data
Get run data without changing the active run. Used for comparison mode.
Response:
Same structure as GET /results but for the specified run.

