BackgroundRun
Defined in: agents/src/runs.ts:132
Server-side: the snapshot holds the whole conversation, prompts and tool data. Send a browser a projection, never this object.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
- |
R extends NodeOutcome<T> |
RunOutcome<T> |
Properties
Section titled “Properties”error: RunError | null;Defined in: agents/src/runs.ts:141
id: string;Defined in: agents/src/runs.ts:133
outcome
Section titled “outcome”outcome: R | null;Defined in: agents/src/runs.ts:138
outcome.session says whether the worker’s append saved the turn.
snapshot
Section titled “snapshot”snapshot: R["snapshot"];Defined in: agents/src/runs.ts:136
status
Section titled “status”status: RunStatus;Defined in: agents/src/runs.ts:135
Host completion is not SDK completion: a successful segment can be suspended or failed.
wakeAt?
Section titled “wakeAt?”optional wakeAt?: number;Defined in: agents/src/runs.ts:140
Earliest pending wake in the tree. The host schedules continuation.