Skip to main content
GET
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
sample_index
integer
obrigatório
Intervalo obrigatório: 0 <= x <= 2147483647

Parâmetros de consulta

task_id
string

Desambigue o índice da amostra, que é único por (tarefa, modelo) e não por execução. Necessário quando o índice corresponde a tentativas de mais de uma tarefa.

model
string

Desambigue o índice da amostra quando a execução abranger mais de um modelo.

Resposta

200 - application/json

OK

object
any
obrigatório
run_id
string
obrigatório
sample_index
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
task_id
string
obrigatório
model
string
obrigatório
schema_version
string
obrigatório

Interchange format of steps, e.g. ATIF-v1.7. Read it before assuming a step shape.

step_count
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
size_bytes
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
steps
null[]
obrigatório

Steps exactly as the harness wrote them — reasoning_content, tool_calls[{ function_name, arguments }], observation.results[{ source_call_id, content }]. Passed through unvalidated so a harness upgrade does not need a gateway release.

logs
object | null
obrigatório

Bounded tails of the trial's log files, keyed by their path in the trial dir (trial.log, verifier/test-stdout.txt, ...). Null for trials recorded before logs were captured.