Create Session changedapi/beta/sessions/create
Nearest release: v2.1.280, published 20 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+22added
Lines−0removed
From line
113
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 113, old and new numbered
/
from line 113
113113
114114- `"anthropic-workspace-id": optional string`
115115
116 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
117
118 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.
119
116120## Body parameters
117121
118122- `agent: string or BetaManagedAgentsAgentParams or BetaManagedAgentsAgentWithOverridesParams`
from line 267
263267
264268 - `"low"`
265269
270 Low effort. Favors latency over reasoning depth.
271
266272 - `"medium"`
267273
274 Medium effort. Balances latency and reasoning depth.
275
268276 - `"high"`
269277
278 High effort. Favors reasoning depth.
279
270280 - `"xhigh"`
271281
282 Extra-high effort. Not all models accept this level.
283
272284 - `"max"`
273285
286 Maximum effort. Favors reasoning depth over latency.
287
274288 - `BetaManagedAgentsEffortLow object`
275289
276290 Low effort. Favors latency over reasoning depth.
from line 1941
19271941
19281942 - `"rescheduling"`
19291943
1944 Transient error occurred, retrying automatically.
1945
19301946 - `"running"`
19311947
1948 Agent is actively executing.
1949
19321950 - `"idle"`
19331951
1952 Agent is waiting for input, including user messages or tool confirmations. Sessions start in idle.
1953
19341954 - `"terminated"`
1955
1956 Session has ended, either due to an error or completion.
19351957
19361958 - `title: string or null`
19371959
No line in this hunk matches that.