Skip to main content
The EZVals server exposes a REST API that powers the web UI. You can use these endpoints to build custom interfaces or integrations.

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
Response:

Run Management

POST /api/runs/rerun

Rerun evaluations. Omit indices to rerun all. Request:
Response:

POST /api/runs/new

Create a new run. Request:
Response:

POST /api/runs/stop

Stop all running/pending evaluations. Response:

PATCH /api/runs/{run_id}

Rename a run. Request:
Response:

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:
Response:
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:
Response: Markdown file download

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.

Configuration

GET /api/config

Get current configuration. Response:

PUT /api/config

Update configuration. Request:
Response: