The whole hunk
from line 81, old and new numbered
/
lines
from line 81
8181
8282 - `"rescheduling"`
8383
84 Transient error occurred, retrying automatically.
85
8486 - `"running"`
8587
88 Agent is actively executing.
89
8690 - `"idle"`
8791
92 Agent is waiting for input, including user messages or tool confirmations. Sessions start in idle.
93
8894 - `"terminated"`
8995
96 Session has ended, either due to an error or completion.
97
9098## Headers
9199
92100- `"anthropic-beta": optional array of AnthropicBeta`
from line 199
191199
192200- `"anthropic-workspace-id": optional string`
193201
202 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
203
204 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
205
194206## Returns
195207
196208- `data: optional array of BetaManagedAgentsSession`
from line 1001
9891001
9901002 - `"rescheduling"`
9911003
1004 Transient error occurred, retrying automatically.
1005
9921006 - `"running"`
9931007
1008 Agent is actively executing.
1009
9941010 - `"idle"`
9951011
1012 Agent is waiting for input, including user messages or tool confirmations. Sessions start in idle.
1013
9961014 - `"terminated"`
1015
1016 Session has ended, either due to an error or completion.
9971017
9981018 - `title: string or null`
9991019