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- `name: string`
from line 471
465471
466472 - `string`
467473
468 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
474 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
469475
470476 - `"message-batches-2024-09-24"`
471477
from line 555
549555
550556 - `"ce-user-management-2026-07-13"`
551557
558 - `"mid-conversation-output-config-2026-07-01"`
559
560 - `"thinking-binding-controls-2026-08-01"`
561
562 - `"mid-conversation-system-clear-at-2026-08-21"`
563
552564### Returns
553565
554566- `data: array of BetaEnvironment`
from line 780
768780
769781 - `string`
770782
771 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
783 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
772784
773785 - `"message-batches-2024-09-24"`
774786
from line 864
852864
853865 - `"ce-user-management-2026-07-13"`
854866
867 - `"mid-conversation-output-config-2026-07-01"`
868
869 - `"thinking-binding-controls-2026-08-01"`
870
871 - `"mid-conversation-system-clear-at-2026-08-21"`
872
855873### Returns
856874
857875- `BetaEnvironment object`
from line 1080
10621080
10631081 - `string`
10641082
1065 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1083 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
10661084
10671085 - `"message-batches-2024-09-24"`
10681086
from line 1164
11461164
11471165 - `"ce-user-management-2026-07-13"`
11481166
1167 - `"mid-conversation-output-config-2026-07-01"`
1168
1169 - `"thinking-binding-controls-2026-08-01"`
1170
1171 - `"mid-conversation-system-clear-at-2026-08-21"`
1172
11491173### Body parameters
11501174
11511175- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 1506
14821506
14831507 - `string`
14841508
1485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1509 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
14861510
14871511 - `"message-batches-2024-09-24"`
14881512
from line 1590
15661590
15671591 - `"ce-user-management-2026-07-13"`
15681592
1593 - `"mid-conversation-output-config-2026-07-01"`
1594
1595 - `"thinking-binding-controls-2026-08-01"`
1596
1597 - `"mid-conversation-system-clear-at-2026-08-21"`
1598
15691599### Returns
15701600
15711601- `BetaEnvironmentDeleteResponse object`
from line 1649
16191649
16201650 - `string`
16211651
1622 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1652 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
16231653
16241654 - `"message-batches-2024-09-24"`
16251655
from line 1733
17031733
17041734 - `"ce-user-management-2026-07-13"`
17051735
1736 - `"mid-conversation-output-config-2026-07-01"`
1737
1738 - `"thinking-binding-controls-2026-08-01"`
1739
1740 - `"mid-conversation-system-clear-at-2026-08-21"`
1741
17061742### Returns
17071743
17081744- `BetaEnvironment object`
from line 2423
23872423
23882424 - `string`
23892425
2390 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2426 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
23912427
23922428 - `"message-batches-2024-09-24"`
23932429
from line 2507
24712507
24722508 - `"ce-user-management-2026-07-13"`
24732509
2510 - `"mid-conversation-output-config-2026-07-01"`
2511
2512 - `"thinking-binding-controls-2026-08-01"`
2513
2514 - `"mid-conversation-system-clear-at-2026-08-21"`
2515
24742516#### Returns
24752517
24762518- `BetaSelfHostedWork object`
from line 2663
26212663
26222664 - `string`
26232665
2624 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2666 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26252667
26262668 - `"message-batches-2024-09-24"`
26272669
from line 2747
27052747
27062748 - `"ce-user-management-2026-07-13"`
27072749
2750 - `"mid-conversation-output-config-2026-07-01"`
2751
2752 - `"thinking-binding-controls-2026-08-01"`
2753
2754 - `"mid-conversation-system-clear-at-2026-08-21"`
2755
27082756- `"Anthropic-Worker-ID": optional string`
27092757
27102758 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 2895
28472895
28482896 - `string`
28492897
2850 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2898 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
28512899
28522900 - `"message-batches-2024-09-24"`
28532901
from line 2979
29312979
29322980 - `"ce-user-management-2026-07-13"`
29332981
2982 - `"mid-conversation-output-config-2026-07-01"`
2983
2984 - `"thinking-binding-controls-2026-08-01"`
2985
2986 - `"mid-conversation-system-clear-at-2026-08-21"`
2987
29342988#### Returns
29352989
29362990- `BetaSelfHostedWork object`
from line 3134
30803134
30813135 - `string`
30823136
3083 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3137 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
30843138
30853139 - `"message-batches-2024-09-24"`
30863140
from line 3218
31643218
31653219 - `"ce-user-management-2026-07-13"`
31663220
3221 - `"mid-conversation-output-config-2026-07-01"`
3222
3223 - `"thinking-binding-controls-2026-08-01"`
3224
3225 - `"mid-conversation-system-clear-at-2026-08-21"`
3226
31673227#### Returns
31683228
31693229- `BetaSelfHostedWorkHeartbeatResponse object`
from line 3306
32463306
32473307 - `string`
32483308
3249 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3309 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
32503310
32513311 - `"message-batches-2024-09-24"`
32523312
from line 3390
33303390
33313391 - `"ce-user-management-2026-07-13"`
33323392
3393 - `"mid-conversation-output-config-2026-07-01"`
3394
3395 - `"thinking-binding-controls-2026-08-01"`
3396
3397 - `"mid-conversation-system-clear-at-2026-08-21"`
3398
33333399#### Body parameters
33343400
33353401- `force: optional boolean`
from line 3554
34883554
34893555 - `string`
34903556
3491 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3557 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
34923558
34933559 - `"message-batches-2024-09-24"`
34943560
from line 3638
35723638
35733639 - `"ce-user-management-2026-07-13"`
35743640
3641 - `"mid-conversation-output-config-2026-07-01"`
3642
3643 - `"thinking-binding-controls-2026-08-01"`
3644
3645 - `"mid-conversation-system-clear-at-2026-08-21"`
3646
35753647#### Returns
35763648
35773649- `BetaSelfHostedWorkListResponse object`
from line 3791
37193791
37203792 - `string`
37213793
3722 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3794 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
37233795
37243796 - `"message-batches-2024-09-24"`
37253797
from line 3875
38033875
38043876 - `"ce-user-management-2026-07-13"`
38053877
3878 - `"mid-conversation-output-config-2026-07-01"`
3879
3880 - `"thinking-binding-controls-2026-08-01"`
3881
3882 - `"mid-conversation-system-clear-at-2026-08-21"`
3883
38063884#### Body parameters
38073885
38083886- `metadata: map[string]`
from line 4027
39494027
39504028 - `string`
39514029
3952 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
4030 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
39534031
39544032 - `"message-batches-2024-09-24"`
39554033
from line 4110
40324110 - `"thinking-display-updates-2026-08-18"`
40334111
40344112 - `"ce-user-management-2026-07-13"`
4113
4114 - `"mid-conversation-output-config-2026-07-01"`
4115
4116 - `"thinking-binding-controls-2026-08-01"`
4117
4118 - `"mid-conversation-system-clear-at-2026-08-21"`
40354119
40364120#### Returns
40374121