Skip to content

Graphorin API reference v0.13.8


Graphorin API reference / @graphorin/server / / TerminalRunInfo

Interface: TerminalRunInfo

Defined in: packages/server/src/runtime/run-state.ts:65

Stable

Payload handed to the RunStateTracker onTerminal callback the first time a run reaches a terminal state. The server turns this into the graphorin_agent_runs_total counter + graphorin_agent_run_duration_seconds summary. durationMs is omitted for a run that was aborted before it ever started (no meaningful wall-clock).

Properties

PropertyModifierTypeDefined in
durationMs?readonlynumberpackages/server/src/runtime/run-state.ts:68
kindreadonlyRunKindpackages/server/src/runtime/run-state.ts:67
statusreadonlyTerminalRunStatuspackages/server/src/runtime/run-state.ts:66