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.

DELETE/eval-runs

Delete multiple evaluation runs by their IDs. This action cannot be undone.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

db_id?|

Database ID to use for deletion

table?|

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"]}'
Empty