Delete Evaluation Runs
Database selection
Use an evaluation-capable database registered with AgentOS or its components. The example API server registers SQLite through its agent. When several database IDs are available, supply db_id; selecting table also requires db_id. These values select registered storage, not an arbitrary database connection. Authentication and configured user scoping apply to the stored evaluation records.
The JSON body contains eval_run_ids. Successful deletion returns 204, including when an ID has no matching record; it does not return the deleted evaluations.
/eval-runsDelete multiple evaluation runs by their IDs. This action cannot be undone.
Authorization
HTTPBearer In: header
Query Parameters
Database ID to use for deletion
Table to use for deletion
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl --request DELETE 'https://example.com/eval-runs' \ --header 'Content-Type: application/json' \ --data-raw '{"eval_run_ids":["string"]}'{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}