Sessions changedapi/beta/sessions
Nearest release: v2.1.247, published under an hour before 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+288added
Lines−22removed
From line
14
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits28to this page, all time
The whole hunk
from line 14, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 14
1414
1515 - `string`
1616
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1818
1919 - `"message-batches-2024-09-24"`
2020
from line 84
8484
8585 - `"mid-conversation-tool-changes-2026-07-01"`
8686
87 - `"compact-2026-01-12"`
88
89 - `"computer-use-2025-11-24"`
90
91 - `"mcp-tunnels-2026-06-22"`
92
93 - `"structured-outputs-2025-11-13"`
94
95 - `"task-budgets-2026-03-13"`
96
97 - `"thinking-display-updates-2026-08-18"`
98
99 - `"ce-user-management-2026-07-13"`
100
87101### Body parameters
88102
89103- `agent: string or BetaManagedAgentsAgentParams or BetaManagedAgentsAgentWithOverridesParams`
from line 2199
21852199
21862200 - `string`
21872201
2188 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2202 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
21892203
21902204 - `"message-batches-2024-09-24"`
21912205
from line 2269
22552269
22562270 - `"mid-conversation-tool-changes-2026-07-01"`
22572271
2272 - `"compact-2026-01-12"`
2273
2274 - `"computer-use-2025-11-24"`
2275
2276 - `"mcp-tunnels-2026-06-22"`
2277
2278 - `"structured-outputs-2025-11-13"`
2279
2280 - `"task-budgets-2026-03-13"`
2281
2282 - `"thinking-display-updates-2026-08-18"`
2283
2284 - `"ce-user-management-2026-07-13"`
2285
22582286### Returns
22592287
22602288- `data: optional array of BetaManagedAgentsSession`
from line 3352
33243352
33253353 - `string`
33263354
3327 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3355 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
33283356
33293357 - `"message-batches-2024-09-24"`
33303358
from line 3422
33943422
33953423 - `"mid-conversation-tool-changes-2026-07-01"`
33963424
3425 - `"compact-2026-01-12"`
3426
3427 - `"computer-use-2025-11-24"`
3428
3429 - `"mcp-tunnels-2026-06-22"`
3430
3431 - `"structured-outputs-2025-11-13"`
3432
3433 - `"task-budgets-2026-03-13"`
3434
3435 - `"thinking-display-updates-2026-08-18"`
3436
3437 - `"ce-user-management-2026-07-13"`
3438
33973439### Returns
33983440
33993441- `BetaManagedAgentsSession object`
from line 4491
44494491
44504492 - `string`
44514493
4452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
4494 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
44534495
44544496 - `"message-batches-2024-09-24"`
44554497
from line 4561
45194561
45204562 - `"mid-conversation-tool-changes-2026-07-01"`
45214563
4564 - `"compact-2026-01-12"`
4565
4566 - `"computer-use-2025-11-24"`
4567
4568 - `"mcp-tunnels-2026-06-22"`
4569
4570 - `"structured-outputs-2025-11-13"`
4571
4572 - `"task-budgets-2026-03-13"`
4573
4574 - `"thinking-display-updates-2026-08-18"`
4575
4576 - `"ce-user-management-2026-07-13"`
4577
45224578### Body parameters
45234579
45244580- `agent: optional BetaManagedAgentsSessionAgentUpdate`
from line 6074
60186074
60196075 - `string`
60206076
6021 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
6077 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
60226078
60236079 - `"message-batches-2024-09-24"`
60246080
from line 6144
60886144
60896145 - `"mid-conversation-tool-changes-2026-07-01"`
60906146
6147 - `"compact-2026-01-12"`
6148
6149 - `"computer-use-2025-11-24"`
6150
6151 - `"mcp-tunnels-2026-06-22"`
6152
6153 - `"structured-outputs-2025-11-13"`
6154
6155 - `"task-budgets-2026-03-13"`
6156
6157 - `"thinking-display-updates-2026-08-18"`
6158
6159 - `"ce-user-management-2026-07-13"`
6160
60916161### Returns
60926162
60936163- `BetaManagedAgentsDeletedSession object`
from line 6205
61356205
61366206 - `string`
61376207
6138 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
6208 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
61396209
61406210 - `"message-batches-2024-09-24"`
61416211
from line 6275
62056275
62066276 - `"mid-conversation-tool-changes-2026-07-01"`
62076277
6278 - `"compact-2026-01-12"`
6279
6280 - `"computer-use-2025-11-24"`
6281
6282 - `"mcp-tunnels-2026-06-22"`
6283
6284 - `"structured-outputs-2025-11-13"`
6285
6286 - `"task-budgets-2026-03-13"`
6287
6288 - `"thinking-display-updates-2026-08-18"`
6289
6290 - `"ce-user-management-2026-07-13"`
6291
62086292### Returns
62096293
62106294- `BetaManagedAgentsSession object`
from line 9407
93239407
93249408 Model identifier and configuration.
93259409
9326 - `name: string`
93279410
9328 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
9329
9330 - `BetaManagedAgentsAnthropicSkill object`
9331
9332 A resolved Anthropic-managed skill.
9333
9334 - `skill_id: string`
9335
9336 - `type: "anthropic"`
9337
9338 - `version: string`
9339
9340 - `BetaManagedAgentsCustomSkill object`
9341
9342 A resolved user-created custom skill.
9343
9344 - `skill_id: string`
9345
9346 - `type: "custom"`
9347
9348 - `version: string`
9349
9350 - `system: string or null`
9351
9352 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
9353
9354 - `BetaManagedAgentsAgentToolset20260401 object`
9355
9356 - `configs: array of BetaManagedAgentsAgentToolConfig`
9357
9358 - `BetaManagedAgentsBashToolConfig object`
9359
9360 Configuration for the bash tool.
9361
9362 - `enabled: boolean`
9363
9364 - `name: "bash"`
9365
9366 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
9367
9368 Permission policy for tool execution.
9369
9370 - `BetaManagedAgentsAlwaysAllowPolicy object`
9371
9372 Tool calls are automatically approved without user confirmation.
9373
9374 - `type: "always_allow"`
9375
9376 - `BetaManagedAgentsAlwaysAskPolicy object`
9377
9378 Tool calls require user confirmation before execution.
9379
9380 - `type: "always_ask"`
9381
9382 - `type: "bash"
No line in this hunk matches that.