Skip to main content

Cancel an eval run

POST 

/api/v1/evals/:eval_id/runs/:eval_run_id/cancel

Cancels a queued or running run: its outstanding item tasks are dropped so it stops consuming provider budget, and the run settles as canceled.

Results already written are kept — they are real measurements of generations that were really paid for — and completed_count / errored_count report what ran. aggregate_scores is deliberately left null: a partial roll-up in the same field a completed run uses would read as a whole-dataset verdict.

A run that has already finished is rejected with 400.

Request

Responses

Eval run canceled