Skip to main content
GET
Get Test Run

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

run_id
string
required

Response

Request fulfilled, document follows

run_id
string
required
test_id
string
required
agent_id
string
required
test_type
enum<string>
required
Available options:
next_reply,
tool,
simulation
status
enum<string>
required
Available options:
queued,
running,
passed,
failed,
error
created_at
string<date-time>
required
batch_id
string | null
repeat_index
integer
default:0

Which repeat of the test in its batch this run is.

needs_review
boolean
default:false

The judge could not decide, or a tool call had no mock answer.

error
string
default:""
usage
PublicAgentTestRunUsage · object
started_at
string<date-time> | null
finished_at
string<date-time> | null
agent_reply
string
default:""

The reply a scripted test judged.

judge_reasoning
string
default:""
config_hash
string
default:""

The agent draft's config hash the run tested.

latency_ms
integer
default:0
simulation_result
AgentTestSimulationResult · object | null

The simulation run's result: what was said, what the agent called, the deterministic assertions and the judge's per-condition verdicts.

channel
enum<string> | null
Available options:
web_voice,
phone_inbound,
phone_outbound
turns_used
integer
default:0
ended_by
enum<string> | null
Available options:
agent,
user,
transfer,
max_turns,
timeout,
error
mock_gaps
AgentTestMockGap · object[]