The whole hunk
from line 14, old and new numbered
/
lines
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 38 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
1818
1919 - `"message-batches-2024-09-24"`
2020
from line 98
9898
9999 - `"ce-user-management-2026-07-13"`
100100
101 - `"mid-conversation-output-config-2026-07-01"`
102
103 - `"thinking-binding-controls-2026-08-01"`
104
105 - `"mid-conversation-system-clear-at-2026-08-21"`
106
101107### Body parameters
102108
103109- `agent: string or BetaManagedAgentsAgentParams`
from line 1155
11491155
11501156- `status: optional BetaManagedAgentsDeploymentStatus`
11511157
1152 Filter by status: active or paused. Omit for both. To include archived deployments, use include_archived instead; the two cannot be combined.
1158 Filter by status: `active` or `paused`. Omit for both. To include archived deployments, use `include_archived` instead; the two cannot be combined.
11531159
11541160 - `"active"`
11551161
from line 1169
11631169
11641170 - `string`
11651171
1166 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1172 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
11671173
11681174 - `"message-batches-2024-09-24"`
11691175
from line 1253
12471253
12481254 - `"ce-user-management-2026-07-13"`
12491255
1256 - `"mid-conversation-output-config-2026-07-01"`
1257
1258 - `"thinking-binding-controls-2026-08-01"`
1259
1260 - `"mid-conversation-system-clear-at-2026-08-21"`
1261
12501262### Returns
12511263
12521264- `data: array of BetaManagedAgentsDeployment`
from line 1878
18661878
18671879 - `string`
18681880
1869 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1881 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
18701882
18711883 - `"message-batches-2024-09-24"`
18721884
from line 1962
19501962
19511963 - `"ce-user-management-2026-07-13"`
19521964
1965 - `"mid-conversation-output-config-2026-07-01"`
1966
1967 - `"thinking-binding-controls-2026-08-01"`
1968
1969 - `"mid-conversation-system-clear-at-2026-08-21"`
1970
19531971### Returns
19541972
19551973- `BetaManagedAgentsDeployment object`
from line 2578
25602578
25612579 - `string`
25622580
2563 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2581 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
25642582
25652583 - `"message-batches-2024-09-24"`
25662584
from line 2662
26442662
26452663 - `"ce-user-management-2026-07-13"`
26462664
2665 - `"mid-conversation-output-config-2026-07-01"`
2666
2667 - `"thinking-binding-controls-2026-08-01"`
2668
2669 - `"mid-conversation-system-clear-at-2026-08-21"`
2670
26472671### Body parameters
26482672
26492673- `agent: optional string or BetaManagedAgentsAgentParams`
from line 3682
36583682
36593683 - `string`
36603684
3661 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3685 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
36623686
36633687 - `"message-batches-2024-09-24"`
36643688
from line 3766
37423766
37433767 - `"ce-user-management-2026-07-13"`
37443768
3769 - `"mid-conversation-output-config-2026-07-01"`
3770
3771 - `"thinking-binding-controls-2026-08-01"`
3772
3773 - `"mid-conversation-system-clear-at-2026-08-21"`
3774
37453775### Returns
37463776
37473777- `BetaManagedAgentsDeployment object`
from line 4383
43534383
43544384 - `string`
43554385
4356 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
4386 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
43574387
43584388 - `"message-batches-2024-09-24"`
43594389
from line 4467
44374467
44384468 - `"ce-user-management-2026-07-13"`
44394469
4470 - `"mid-conversation-output-config-2026-07-01"`
4471
4472 - `"thinking-binding-controls-2026-08-01"`
4473
4474 - `"mid-conversation-system-clear-at-2026-08-21"`
4475
44404476### Returns
44414477
44424478- `BetaManagedAgentsDeploymentRun object`
from line 4671
46354671
46364672 - `session_id: string or null`
46374673
4638 Populated on success. Null on creation failure. Exactly one of session_id or error is non-null.
4674 Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
46394675
46404676 - `trigger_context: BetaManagedAgentsTriggerContext`
46414677
from line 4750
47144750
47154751 - `string`
47164752
4717 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
4753 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
47184754
47194755 - `"message-batches-2024-09-24"`
47204756
from line 4834
47984834
47994835 - `"ce-user-management-2026-07-13"`
48004836
4837 - `"mid-conversation-output-config-2026-07-01"`
4838
4839 - `"thinking-binding-controls-2026-08-01"`
4840
4841 - `"mid-conversation-system-clear-at-2026-08-21"`
4842
48014843### Returns
48024844
48034845- `BetaManagedAgentsDeployment object`
from line 5451
54095451
54105452 - `string`
54115453
5412 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
5454 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
54135455
54145456 - `"message-batches-2024-09-24"`
54155457
from line 5534
54925534 - `"thinking-display-updates-2026-08-18"`
54935535
54945536 - `"ce-user-management-2026-07-13"`
5537
5538 - `"mid-conversation-output-config-2026-07-01"`
5539
5540 - `"thinking-binding-controls-2026-08-01"`
5541
5542 - `"mid-conversation-system-clear-at-2026-08-21"`
54955543
54965544### Returns
54975545