Skip to main content
GET
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

run_id
string
required

Query Parameters

metric
string
default:reward

The scores key avg_reward averages. Defaults to reward, what the harness writes for a pass/fail task.

Maximum string length: 128
Pattern: ^[\w.-]+$

Response

200 - application/json

OK

object
any
required
run_id
string
required
suite_id
string
required
status
enum<string>
required
Available options:
queued,
in_progress,
finalizing,
completed,
failed,
cancelling,
cancelled
agent_name
string | null
required
agent_version
string | null
required
agent_effort
string | null
required
models
string[]
required
metric
string
required
avg_reward
number | null
required

Mean of metric over trials that carry it numerically. Null when none do.

trials
object
required
cost_usd
number | null
required
tokens
object
required

Summed over the run's trials. Each field is null when no trial reported it.