Update Evaluation Run

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.

Rename an evaluation

This operation updates name only, despite the broader generated description. Send a JSON body such as {"name":"Release reliability check"}. It does not modify results, change evaluation inputs or rerun the evaluation.

PATCH/eval-runs/{eval_run_id}

Update the name or other properties of an existing evaluation run.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

eval_run_id*Eval Run Id

Query Parameters

db_id?|

The ID of the database to use

table?|

Table to use for rename operation

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

application/json

curl --request PATCH 'https://example.com/eval-runs/string' \  --header 'Content-Type: application/json' \  --data-raw '{"name":"string"}'
{  "id": "a03fa2f4-900d-482d-afe0-470d4cd8d1f4",  "agent_id": "basic-agent",  "model_id": "gpt-4o",  "model_provider": "OpenAI",  "name": "Test ",  "eval_type": "reliability",  "eval_data": {    "eval_status": "PASSED",    "failed_tool_calls": [],    "passed_tool_calls": [      "multiply"    ]  },  "eval_input": {    "expected_tool_calls": [      "multiply"    ]  },  "created_at": "2025-08-27T15:41:59Z",  "updated_at": "2025-08-27T15:41:59Z"}