DELETE/evals/{eval_id}

Delete an evaluation

Deletes an evaluation. Use this operation to remove an evaluation that you no longer need; deletion is unavailable while the evaluation has unfinished runs.

1 parameter
eval_idstringrequired
The identifier of the evaluation to delete.

4 status codes
200Returns a confirmation object containing the deletion status and the evaluation identifier.
objectstringrequired
deletedbooleanrequired
eval_idstringrequired
400Returned when the evaluation cannot be deleted because it has unfinished runs.
errorobjectrequired
404Returned when the evaluation 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 has unfinished runs and cannot be deleted. A 404 is returned when the evaluation is not found. A 429 is returned when the request exceeds a rate limit. The eval_id path parameter must identify the evaluation to delete, and its runs must be finished first.