The whole hunk
from line 117, old and new numbered
/
lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Returns
121125
122126- `BetaManagedAgentsSession object`
from line 919
915919
916920 - `"rescheduling"`
917921
922 Transient error occurred, retrying automatically.
923
918924 - `"running"`
919925
926 Agent is actively executing.
927
920928 - `"idle"`
921929
930 Agent is waiting for input, including user messages or tool confirmations. Sessions start in idle.
931
922932 - `"terminated"`
933
934 Session has ended, either due to an error or completion.
923935
924936 - `title: string or null`
925937