Skip to main content
GET
Get test run results

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Path Parameters

test_run_id
string
required

The test run’s id (tr_…).

Response

OK

Counts the last attempt of each (case, agent, try): an error that was retried counts as its retry.

object
string
Allowed value: "test_run_results"
test_run_id
string
data
object[]

One row per case and agent.

by_agent
object
by_tag
object

Per tag, per agent.

by_category
object

Per category, per agent.

totals
object
timeline
object[]

Tries finished by t (cumulative), in about 40 steps from the run’s start.

recommendation
null | object

Which agent or model to use (null with fewer than two that have a pass rate and a price).

procedure_picks
null | object

When the run's test cases are tied to procedures (each case's procedure_id): a pick for each procedure, meant for that procedure's model only, and rest, the pick over the cases tied to no procedure (the only ones that say anything about the agent's own model; null when there are none). Null when no case is tied to a procedure of an agent the run tests.