Skip to main content
GET
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

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.