Runtime Sessions

Inspect hosted runtime workflows, turns, continuations, and operator actions for governed agent execution.

What runtime sessions provide#

The hosted Agent Runtime tracks durable execution state for governed agents. Each session has a workflow with turns, continuations, and scheduled wakeups.

Session lifecycle#

StatusMeaning
activeCurrently executing turns
waiting_approvalPaused, awaiting approval decision
scheduledSleeping until next_wake_at
suspendedPaused, awaiting manual continuation
completedFinished successfully
errorTerminated with error

List sessions with GET /api/v1/runtime/sessions. Fetch detail (workflow state, messages, continuations) with GET /api/v1/runtime/sessions/{id}.

Operator actions#

Operators can intervene in sessions via POST /api/v1/runtime/sessions/{id}/actions:

ActionEffect
resumeContinue a suspended session with optional messages
retryRetry a failed session from last checkpoint
abortTerminate a session immediately

Sensitive actions (abort, retry) require approval when configured.

Correlation with delivery#

Runtime sessions correlate to delivery work units via session_id. The delivery dispatch board shows workflow status inline for claimed work units, and provides "Inspect runtime" links to session detail.

Next step#

See the DORA Metrics guide for delivery performance measurement.