Skip to main content
POST
Report the result of one run

Authorizations

Authorization
string
header
required

The opaque agt_r token minted when the runner enrols (POST /v1/runners)

Body

application/json

POST /v1/runners/me/reports — one batched write keyed by event id.

cached_input_tokens
integer<int32>
required

Cumulative cache-read tokens for the whole run.

Required range: x >= 0
checkpoint
object
required

Where to resume this session.

event_id
string
required

The event this report is about.

failure_detail
string
required

Human-readable cause, stored only on failure.

fencing_token
integer<int64>
required

Monotonic guard, verified against the fleet's live sequence.

Required range: x >= 0
input_tokens
integer<int32>
required

Cumulative prompt tokens for the whole run.

Required range: x >= 0
lease_id
string
required

The lease being reported on.

outcome
enum<string>
required

The binary verdict.

Available options:
processed,
fleet_error
output_tokens
integer<int32>
required

Cumulative completion tokens for the whole run.

Required range: x >= 0
response_text
string
required

The run's output.

telemetry
object
required

Latency the runner observed.

tokens
integer<int64>
required

The run's total tokens, for reporting. Billing charges the three cumulative fields below, which settle against the usage ledger.

Required range: x >= 0
failure_reason
null | enum<string>

The granular cause when the run failed.

Available options:
startup_posture,
policy_deny,
timeout_kill,
oom_kill,
resource_kill,
runner_crash,
transport_loss,
landlock_deny,
lease_expired,
renewal_terminate,
budget_breach

Response

OK

POST /v1/runners/me/reports reply.

ok
boolean
required

Whether the write landed.