Skip to main content
GET
List test run attempts

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_…).

Query Parameters

test_case_id
string

Only this case’s attempts (an id or key).

agent_id
string

Only this agent’s attempts.

outcome
enum<string>

Only attempts with this outcome.

Available options:
passed,
failed,
error
limit
integer
default:20

How many to return, 1 to 100.

Required range: 1 <= x <= 100
cursor
string

next_cursor from the previous page.

Response

OK

data
object[]
required
has_more
boolean
required
next_cursor
string | null
required

Pass as cursor to get the next page.