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

Parâmetros de consulta

metric
string
padrão:reward

A chave avg_reward de scores faz a média. O padrão é reward, que é o que o harness registra para uma tarefa de aprovação/reprovação.

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

Resposta

200 - application/json

OK

object
any
obrigatório
run_id
string
obrigatório
suite_id
string
obrigatório
status
enum<string>
obrigatório
Opções disponíveis:
queued,
in_progress,
finalizing,
completed,
failed,
cancelling,
cancelled
agent_name
string | null
obrigatório
agent_version
string | null
obrigatório
agent_effort
string | null
obrigatório
models
string[]
obrigatório
metric
string
obrigatório
avg_reward
number | null
obrigatório

Média de metric entre as tentativas que o contêm numericamente. Nulo quando nenhuma o contém.

trials
object
obrigatório
cost_usd
number | null
obrigatório
tokens
object
obrigatório

Somado ao longo das tentativas da execução. Cada campo é nulo quando nenhuma tentativa o informou.