DELETE/evals/{eval_id}/runs/{run_id}

Delete an evaluation run

Deletes a run from an evaluation. Use this endpoint to remove a finished run; a run cannot be deleted while it is still in progress.

2 parameters
eval_idstringrequired
The identifier of the evaluation to delete the run from.
run_idstringrequired
The identifier of the run to delete.

4 status codes
200Returns a confirmation object containing the deletion status and the run identifier.
objectstringoptional
deletedbooleanoptional
run_idstringoptional
400Returned when the evaluation run cannot be deleted because it has not finished.
errorobjectrequired
404Returned when the run is not found.
errorobjectrequired
429Returned when the request is rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 400 is returned when the evaluation run has not finished and cannot be deleted. A 404 is returned when the run is not found. A 429 is returned when the request exceeds a rate limit. The eval_id path parameter identifies the evaluation, and the run_id path parameter identifies the run to delete.