observationIdOptional
string | undefined
Tracking ID when createObservation() owns this dispatch session; use it with observation.readRun/watchRun when a transport is configured. Equal to the retained runId field. Absent for legacy hubs and nested dispatches, which join the parent projection. Continuations own new sessions.
runIdOptional
string | undefined
Tracking ID returned when createObservation() owns this dispatch session; absent for legacy hubs and nested dispatches. Read its persisted state through the observation client when a transport is configured. Retained for compatibility; prefer observationId when reading or watching tracking state.
textRequired
string
Text of every turn of the execution, joined with newlines, including response repair turns.
turnsRequired
readonly Turn[]
Every turn in order, including response repairs and turns resumed by steering.
usageRequired
Usage
Token counters summed over every turn; not a cost.
conversationOptional
string | undefined
Native conversation id of the last turn, when the agent reported one.
valueRequired
T
Parsed and validated response; undefined without a response option.
completedRequired
boolean
True when the last turn’s text contains a completion marker, or when a typed response was validated.
completionOptional
string | undefined
Completion marker found in the last turn’s text.