Skip to content
Docs menu

Other schemas

Schemas no operation names directly. The reference mentions them only in prose, as the payloads of its event streams.

Schemas (21)

LogEvent

object

Payload of one SSE log event on the run logs stream. ts is the arrival time of the chunk the line came in. stream is stdout for the runner's own output. It is stderr for a notice the hub wrote into the log (lease re-queue, cancel request).

LogEvent fields
FieldTypeDescription
tsrequiredstring (date-time)
streamrequiredstring

one of stdout · stderr

linerequiredstring

MetricEvent

object

Payload of one SSE metric event on the run logs stream: one line of the run's metrics.jsonl, in file order. index is the zero-based line number, so a client that reconnects can drop what it already has.

MetricEvent fields
FieldTypeDescription
indexrequiredinteger

≥ 0

metricsrequiredobject

AgentEventKind

string

one of message · tool_use · tool_result · terminal · approval_requested · approval_resolved · status · usage · sandbox · notice · error · plan · decision · round

Among the kinds:

  • plan: a plan proposed, edited or approved, or one of its rounds started or skipped.
  • decision: a decision requested, resolved, expired or withdrawn.
  • round: the round card.

AgentPaneFocus

string

one of run · gates · sim · terminal

Which tab of the agent page's live pane an event concerns:

  • run: a training run's metrics and log.
  • gates: rollouts, the three views.
  • sim: a robot or policy in MuJoCo.
  • terminal: the sandbox shell.

AgentEventMessage

object

AgentEventMessage fields
FieldTypeDescription
rolerequiredstring

one of user · assistant

textrequiredstring
callinteger | null

The model call that produced it (assistant only).

checkpointAgentCheckpointNote | null

Set when the message is the agent's one-line report on a gate verdict (checkpoint_note).

AgentEventToolUse

object

AgentEventToolUse fields
FieldTypeDescription
tool_use_idrequiredstring
namerequiredstring
inputrequiredobject
args_summarystring

The arguments in one short line for the tool row (e.g. l40s · 1,500 it).

focusAgentPaneFocus | null

AgentEventToolResult

object

AgentEventToolResult fields
FieldTypeDescription
tool_use_idrequiredstring
namerequiredstring
statusrequiredstring

one of ok · error · rejected · denied

ok, error, rejected (the validators refused it; nothing ran) or denied (a person denied the spend).

args_summarystring
is_errorrequiredboolean
rejectedboolean

The hub's validators refused the arguments; nothing ran.

summaryrequiredstring

One line for the chat.

contentstring | null

What the model was given back (truncated for the stream).

spendAgentApproval | null

For a tool that cost money: the spend record (auto-approved, or decided by a person).

msnumber | null

How long the call took, milliseconds.

focusAgentPaneFocus | null
linksAgentLinks | null

AgentEventTerminal

object

Sandbox shell output, streamed while a command runs.

AgentEventTerminal fields
FieldTypeDescription
tool_use_idrequiredstring
streamrequiredstring

one of command · stdout · stderr · exit

textrequiredstring
exit_codeinteger | null

AgentEventApproval

object

AgentEventApproval fields
FieldTypeDescription
approvalrequiredAgentApproval

AgentEventStatus

object

AgentEventStatus fields
FieldTypeDescription
statusrequiredAgentSessionStatus
reasonstring | null
stop_codestring | null
waiting_onAgentWait | null

AgentEventUsage

object

One model call, metered. It carries the cost the timeline shows beside the call.

AgentEventUsage fields
FieldTypeDescription
callrequiredinteger
modelrequiredstring
backendstring | null
input_tokensrequiredinteger
output_tokensrequiredinteger
cache_read_tokensrequiredinteger
cache_write_tokensrequiredinteger
reserved_usdrequirednumber

What was reserved before the call (count_tokens + max_tokens at list price).

cost_usdrequirednumber

What the call cost, settled on the reported usage.

pricedrequiredboolean
latency_msnumber | null
session_total_usdnumber | null
allowance_remaining_usdnumber | null

AgentEventSandbox

object

AgentEventSandbox fields
FieldTypeDescription
staterequiredstring

starting, running, restoring, snapshotted, terminated, or failed.

sandbox_idstring | null
cold_start_msnumber | null
secondsnumber | null

The interval that just ended, billed.

cost_usdnumber | null
reasonstring | null

AgentEventNotice

object

AgentEventNotice fields
FieldTypeDescription
coderequiredstring

Informational codes: woke, compacted, turn_limit, message_queued, wait_interrupted, slept, reopened, plan_required, …

messagerequiredstring
causestring | null

For woke: what woke the agent. One of run_finish, tripwire, gate_verdict, rollout_finish, approval (a person decided a device request), plan_finish, endpoint_claim, progress (a run reached the iteration the agent asked about), timeout, or user_message. not_visible ends a wait on something the session's owner cannot read, and then resource is null.

resourceActivityResourceRef | null

For woke, the resource that moved.

dataobject | null

AgentEvent

object

One row of a session's append-only event table, as streamAgentEvents sends it (data: of each SSE frame). data's shape follows kind:

  • message → AgentEventMessage
  • tool_use → AgentEventToolUse
  • tool_result → AgentEventToolResult
  • terminal → AgentEventTerminal
  • approval_requested / approval_resolved → AgentEventApproval
  • status → AgentEventStatus
  • usage → AgentEventUsage
  • sandbox → AgentEventSandbox
  • notice / error → AgentEventNotice
  • plan → AgentEventPlan
  • decision → AgentEventDecision
  • round → AgentEventRound
AgentEvent fields
FieldTypeDescription
idrequiredId
seqrequiredinteger

Position in the session's stream (1-based, gapless).

session_idrequiredId
kindrequiredAgentEventKind
created_atrequiredstring (date-time)
datarequiredAgentEventMessage | AgentEventToolUse | AgentEventToolResult | AgentEventTerminal | AgentEventApproval | AgentEventStatus | AgentEventUsage | AgentEventSandbox | AgentEventNotice | AgentEventPlan | AgentEventDecision | AgentEventRound

The payload for kind. The schema uses anyOf instead of oneOf because the shapes share no discriminator field.

stepAgentEventStep | null

The step of the task this event belongs to, for a work log that reads as steps. A training task has three: the plan, the training, the checkpoint it ends on. Null on a session with no steps.

reasoningboolean

True on a message that is the agent's stated reason for a step, from the why of its reporting tools. The work log sets it in italics. False or absent on every other event.

duration_msnumber | null

How long the thing this event records took: a tool call's ms, a model call's latency_ms. Null where nothing was timed.

AgentEventStep

object

AgentEventStep fields
FieldTypeDescription
nrequiredinteger

≥ 1

ofrequiredinteger

≥ 1

titlerequiredstring

length ≤ 80

Plan, Train, Checkpoint 1,300.

AgentRoundCard

object

The round card has three rows. The hub generates Changed and Result from the round. Changed comes from its declared change and variables. Result comes from its locked gates at every checkpoint, the predictions and the tripwire. Next is the agent's proposal, quoted as written.

AgentRoundCard fields
FieldTypeDescription
roundrequiredRunRound
round_idstring | null
run_idstring | null
verdictrequiredRoundVerdictValue
chosen_stepinteger | null
checkpointsinteger | null

How many checkpoints the round's run published.

changedrequiredstring
resultrequiredstring
nextrequiredstring
review_suggestedAgentReviewFlag | null

The agent asks a person to look at the round, from what it saw in a poster. verdict and result stay the hub's.

rangesarray of object

The per-step verdicts compressed into runs, e.g. PASS 1200–2200, FAIL 2299.

from_steprequiredinteger
to_steprequiredinteger
verdictrequiredRoundVerdictValue

AgentReviewFlag

object

The agent's request that a person look at a checkpoint, from what it saw in a sim test's poster. It never changes a verdict and is never a measurement. The hub refuses a flag whose reason states a verdict or a measured number.

AgentReviewFlag fields
FieldTypeDescription
reasonrequiredstring

length ≤ 300

What the agent saw, in its words.

stepsarray of integer

The checkpoints it saw it in.

sourcerequiredstring

one of image

Where the observation came from. Only a poster image today.

AgentCheckpointNote

object

Marks an assistant message as the one-line report on a gate verdict (the page folds them into "N checkpoint reports").

AgentCheckpointNote fields
FieldTypeDescription
review_suggestedAgentReviewFlag | null

The agent asks a person to look, with its reason. The verdict stays the hub's.

run_idrequiredId
steprequiredinteger
gates_passedinteger | null

Cells passing the band at that checkpoint, from the gate row.

gates_totalinteger | null
verdictRoundVerdictValue | null

The round's locked gates at that step, when the run is a round's.

AgentEventPlan

object

AgentEventPlan fields
FieldTypeDescription
changerequiredstring

one of proposed · approved · edited · withdrawn · round_started · round_skipped · approval_failed

What happened to the plan.

planrequiredAgentPlan
round_keystring | null
messagestring | null

AgentEventDecision

object

AgentEventDecision fields
FieldTypeDescription
changerequiredstring

one of requested · resolved · expired · withdrawn · updated

decisionrequiredAgentDecision

AgentEventRound

object

AgentEventRound fields
FieldTypeDescription
cardrequiredAgentRoundCard