Skip to Content
Eval runs

Get an eval run

Permissioneval-runs:readAuthentication
GET
/eval-runs/{id}

Returns the batch, its selected scenarios, and sanitized call summaries. queued and running runs carry Retry-After: 2; terminal runs do not require further polling.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

Eval run detail and current child calls.

application/json
  1. response
id*string
Formatuuid
suite_id*string
Formatuuid
suite_slug*string
suite_name*string
agent_version_id?|
Formatuuid
mode*EvalRunMode

Mode of an existing run. audio appears only on historical runs and cannot be requested; new runs are always text.

Value in"audio""text"
tool_policy*EvalToolPolicy
Value in"dry_run""mocked""live"
status*EvalRunStatus
Value in"queued""running""done""failed""cancelled"
total*integer
Range0 <= value
completed*integer
Range0 <= value
started_at?|
Formatdate-time
ended_at?|
Formatdate-time
duration_sec?|
Formatfloat
Range0 <= value
created_at*string
Formatdate-time
cancel_requested_at?|
Formatdate-time
score_weighted?|

The run's weighted score, 0-100, as the worker computed it. Null while the run is still going or when no check scored it.

Formatfloat
Range0 <= value <= 100
passed?|

The run's verdict. Already accounts for blocking checks, so it is not derivable from score_weighted alone.

unmocked_tool_calls?integer

Tool calls that reached a real upstream. Non-zero on a run whose tool_policy asked for mocks means the result is not trustworthy.

Range0 <= value
pass_rate?|

Share of conversations that passed, 0-1. This is what passed is derived from — score_weighted is average partial credit and can be high on a run that failed.

Formatfloat
Range0 <= value <= 1
requested_concurrency*integer
Range0 <= value <= 1000
effective_concurrency*integer

Requested value after mode defaults and current workspace headroom clamping; the deployment cap is configurable.

Range1 <= value <= 1000
summary?

Bounded product-defined JSON object. Its nested keys depend on the selected eval definition, worker, model, or rubric.

runtime_profile?

Customer-facing effective evaluation profile. Model and voice selections use platform UUIDs and catalog display names; unresolved legacy selections are marked unavailable. Internal execution identities are not returned.

error?|
Value in"eval execution failed""the agent failed to produce its opening turn""the simulated caller crashed"null
error_code?|null
error_detail?|

Internal worker diagnostics are withheld from customer responses. Use the classified error and support identifiers.

Lengthlength <= 2049
agent_id?|
Formatuuid
agent_name?string|null
agent_version_number?|
Range1 <= value
scenarios*array<>
calls*array<>
Example Request
curl -X GET 'https://api.kejue.co/v1/eval-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "suite_id": "3e9c08eb-436b-4d4b-9cfe-ca21d8bdb99b",  "suite_slug": "string",  "suite_name": "string",  "agent_version_id": "1c2a713c-7248-4a56-a9eb-0bdcb3a41741",  "mode": "audio",  "tool_policy": "dry_run",  "status": "queued",  "total": 0,  "completed": 0,  "started_at": "2019-08-24T14:15:22Z",  "ended_at": "2019-08-24T14:15:22Z",  "duration_sec": 0,  "created_at": "2019-08-24T14:15:22Z",  "cancel_requested_at": "2019-08-24T14:15:22Z",  "score_weighted": 0,  "passed": true,  "unmocked_tool_calls": 0,  "pass_rate": 0,  "requested_concurrency": 0,  "effective_concurrency": 1,  "summary": {},  "runtime_profile": {    "agent_model_ref": "94d7cd15-b85b-4007-8542-9245ea935b5b",    "caller_model_ref": "8b005978-93e0-4385-aa8a-73e7e8853679",    "scorer_model_ref": "aade6c2d-cf78-4d7b-9ad0-c377a1c92109",    "caller_tts_provider_ref": "9b9e84cc-bffd-4ae2-a061-6ab55639dcdc",    "caller_voice_ref": "22306346-d54a-402c-a81b-654393ffb09a",    "agent_model_display_name": "string",    "agent_model_status": "unavailable",    "caller_model_display_name": "string",    "caller_model_status": "unavailable",    "scorer_model_display_name": "string",    "scorer_model_status": "unavailable",    "caller_tts_provider_display_name": "string",    "caller_tts_provider_status": "unavailable",    "caller_voice_display_name": "string",    "caller_voice_status": "unavailable",    "pass_threshold": 0,    "run_pass_threshold": 0,    "caller_language": "string",    "caller_stt_language": "string",    "caller_stt_lang": "string",    "tool_mocks": {},    "max_turns": 0,    "max_tokens": 0,    "temperature": 0,    "timeout_seconds": 0,    "caller_voice_settings": {      "speed": 0.5,      "volume": -20,      "temperature": 0,      "top_p": 0,      "stability": 0,      "dialect": "jordanian",      "expressiveness": 0,      "similarity_boost": 0,      "style": 0,      "use_speaker_boost": true,      "normalize_text": true    }  },  "error": "eval execution failed",  "error_code": "eval_execution_failed",  "error_detail": "string",  "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",  "agent_name": "string",  "agent_version_number": 1,  "scenarios": [    {      "id": "string",      "label": "string"    }  ],  "calls": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "scenario_id": "string",      "scenario_label": "string",      "started_at": "2019-08-24T14:15:22Z",      "ended_at": "2019-08-24T14:15:22Z",      "duration_sec": 0,      "overall_score": 0,      "score_weighted": 0,      "passed": true,      "timed_out": true,      "end_reason": "string",      "error": "eval execution failed",      "error_code": "eval_execution_failed",      "error_detail": "string",      "checks_total": 0,      "checks_passed": 0,      "failed_checks": [        {          "slug": "string",          "blocking": true        }      ],      "abstained_checks": [        "string"      ]    }  ]}