Skip to main content
API reference sections

Schema

TimelineItem

One entry of the history as the wire carries it. Unrecognized is an entry this build could not decode, in its place.

Type TimelineEntry or UsageFact or object

Shape

One of 3 shapes:

  1. entry: "step"

    FieldTypeDescription
    idrequiredTimelineEntryId
    kindrequiredStepKind

    What a step is. A closed enum mirroring §7.5's rows plus control handover (§7.4), artifact registration, recovery and the honest gap (§7.1: replay never invents what it did not receive). Counts ride the variant that needs them, bounded by type.

    refsTimelineRefs

    Default []

    at_msrequiredinteger (int64)

    Epoch milliseconds UTC, for display and for the §17.2 definitions. Order is the timeline's own - append order - never this clock.

    entryrequired"step"
  2. entry: "usage"

    FieldTypeDescription
    identityrequiredUsageFactId

    Stable across retries and amendments alike.

    attemptrequiredRunAttemptId
    turnrequiredAgentTurnId
    revisionrequiredAmendmentRevision

    The monotonic amendment revision of a usage fact. A retry repeats it; a correction raises it.

    inputinteger (uint64, >= 0) or null

    None is unavailable. It is never zero for missing.

    outputinteger (uint64, >= 0) or null
    cached_inputinteger (uint64, >= 0) or null
    modelrequiredModelRef
    completenessrequiredCompleteness
    entryrequired"usage"
  3. entry: "unrecognized"

    FieldTypeDescription
    entryrequired"unrecognized"
Example
{
  "id": "00000000-0000-4000-8000-000000000000",
  "kind": {
    "step": "run_created"
  },
  "refs": [],
  "at_ms": 0
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.