Skip to main content
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

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>.

Cabeçalhos

X-On-Behalf-Of
string

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

Parâmetros de caminho

run_id
string
obrigatório

Corpo

application/json
trials
object[]

Cada tentativa fixa seu próprio sample_index (único por tarefa e modelo): reenviar um lote substitui as mesmas linhas em vez de duplicá-las, então um lote reexecutado é seguro.

Maximum array length: 1000
finalize
boolean
padrão:false

Marca a execução como concluída quando estes testes chegarem — a última chamada de um trabalho de streaming envia isso, geralmente com um trials vazio.

Resposta

200 - application/json

OK

id
string
obrigatório
object
any
obrigatório
suite_id
string
obrigatório
suite_version
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
suite_version_id
string
obrigatório
org_id
string
obrigatório

The org that owns this run.

team_id
string
obrigatório

The team that owns this run.

status
enum<string>
obrigatório
Opções disponíveis:
queued,
in_progress,
finalizing,
completed,
failed,
cancelling,
cancelled
models
string[]
obrigatório
task_ids
string[] | null
obrigatório
judge_model
string | null
obrigatório
embedding_model
string | null
obrigatório
generation
object
obrigatório
request_counts
object
obrigatório
metrics
object | null
obrigatório
error
object | null
obrigatório
artifact_file_ids
string[]
obrigatório
metadata
object
obrigatório
agent_name
string | null
obrigatório

Coding-agent harness that produced this run (e.g. omp, claude-code). Null for every non-harness eval kind — a null here is not a missing value, it means the run is not an agent run.

agent_version
string | null
obrigatório

Version of agent_name, as the harness reported it. Null when agent_name is.

agent_effort
string | null
obrigatório

Reasoning-effort setting the agent ran at (e.g. medium, xhigh). Part of the leaderboard's row identity: the same agent and model at two efforts are two rows, not one. Null when agent_name is.

cost_usd
number | null
obrigatório

Total spend for the run in USD. Null when the harness did not report cost.

created_at
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
started_at
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
completed_at
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
cancelled_at
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
failed_at
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991