Skip to main content
POST
Run Tests

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string
required

Body

application/json
test_ids
string[]

Attached tests to run. Omit to run every test attached to the agent.

Minimum array length: 1
repeat_count
integer

Run every selected test this many times in this batch, in place of each test's own repeat count.

Required range: 1 <= x <= 20

Response

Request accepted, processing continues off-line

batch_id
string
required
agent_id
string
required
status
enum<string>
required

running until every run has finished.

Available options:
running,
completed
completed
boolean
required
passed
integer
required
failed
integer
required
errors
integer
required
runs
PublicAgentTestRun · object[]
required
pass_rate
number | null

passed / (passed + failed), null until a run passed or failed. Error runs never judged the agent and are left out.