Work changedapi/beta/environments/work
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+120added
Lines−8removed
From line
22
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 22, old and new numbered
/
from line 22
2222
2323 - `string`
2424
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2626
2727 - `"message-batches-2024-09-24"`
2828
from line 92
9292
9393 - `"mid-conversation-tool-changes-2026-07-01"`
9494
95 - `"compact-2026-01-12"`
96
97 - `"computer-use-2025-11-24"`
98
99 - `"mcp-tunnels-2026-06-22"`
100
101 - `"structured-outputs-2025-11-13"`
102
103 - `"task-budgets-2026-03-13"`
104
105 - `"thinking-display-updates-2026-08-18"`
106
107 - `"ce-user-management-2026-07-13"`
108
95109### Returns
96110
97111- `BetaSelfHostedWork object`
from line 256
242256
243257 - `string`
244258
245 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
246260
247261 - `"message-batches-2024-09-24"`
248262
from line 326
312326
313327 - `"mid-conversation-tool-changes-2026-07-01"`
314328
329 - `"compact-2026-01-12"`
330
331 - `"computer-use-2025-11-24"`
332
333 - `"mcp-tunnels-2026-06-22"`
334
335 - `"structured-outputs-2025-11-13"`
336
337 - `"task-budgets-2026-03-13"`
338
339 - `"thinking-display-updates-2026-08-18"`
340
341 - `"ce-user-management-2026-07-13"`
342
315343- `"Anthropic-Worker-ID": optional string`
316344
317345 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 482
454482
455483 - `string`
456484
457 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
458486
459487 - `"message-batches-2024-09-24"`
460488
from line 552
524552
525553 - `"mid-conversation-tool-changes-2026-07-01"`
526554
555 - `"compact-2026-01-12"`
556
557 - `"computer-use-2025-11-24"`
558
559 - `"mcp-tunnels-2026-06-22"`
560
561 - `"structured-outputs-2025-11-13"`
562
563 - `"task-budgets-2026-03-13"`
564
565 - `"thinking-display-updates-2026-08-18"`
566
567 - `"ce-user-management-2026-07-13"`
568
527569### Returns
528570
529571- `BetaSelfHostedWork object`
from line 715
673715
674716 - `string`
675717
676 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
718 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
677719
678720 - `"message-batches-2024-09-24"`
679721
from line 785
743785
744786 - `"mid-conversation-tool-changes-2026-07-01"`
745787
788 - `"compact-2026-01-12"`
789
790 - `"computer-use-2025-11-24"`
791
792 - `"mcp-tunnels-2026-06-22"`
793
794 - `"structured-outputs-2025-11-13"`
795
796 - `"task-budgets-2026-03-13"`
797
798 - `"thinking-display-updates-2026-08-18"`
799
800 - `"ce-user-management-2026-07-13"`
801
746802### Returns
747803
748804- `BetaSelfHostedWorkHeartbeatResponse object`
from line 881
825881
826882 - `string`
827883
828 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
884 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
829885
830886 - `"message-batches-2024-09-24"`
831887
from line 951
895951
896952 - `"mid-conversation-tool-changes-2026-07-01"`
897953
954 - `"compact-2026-01-12"`
955
956 - `"computer-use-2025-11-24"`
957
958 - `"mcp-tunnels-2026-06-22"`
959
960 - `"structured-outputs-2025-11-13"`
961
962 - `"task-budgets-2026-03-13"`
963
964 - `"thinking-display-updates-2026-08-18"`
965
966 - `"ce-user-management-2026-07-13"`
967
898968### Body parameters
899969
900970- `force: optional boolean`
from line 1123
10531123
10541124 - `string`
10551125
1056 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1126 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
10571127
10581128 - `"message-batches-2024-09-24"`
10591129
from line 1193
11231193
11241194 - `"mid-conversation-tool-changes-2026-07-01"`
11251195
1196 - `"compact-2026-01-12"`
1197
1198 - `"computer-use-2025-11-24"`
1199
1200 - `"mcp-tunnels-2026-06-22"`
1201
1202 - `"structured-outputs-2025-11-13"`
1203
1204 - `"task-budgets-2026-03-13"`
1205
1206 - `"thinking-display-updates-2026-08-18"`
1207
1208 - `"ce-user-management-2026-07-13"`
1209
11261210### Returns
11271211
11281212- `BetaSelfHostedWorkListResponse object`
from line 1354
12701354
12711355 - `string`
12721356
1273 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1357 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
12741358
12751359 - `"message-batches-2024-09-24"`
12761360
from line 1424
13401424
13411425 - `"mid-conversation-tool-changes-2026-07-01"`
13421426
1427 - `"compact-2026-01-12"`
1428
1429 - `"computer-use-2025-11-24"`
1430
1431 - `"mcp-tunnels-2026-06-22"`
1432
1433 - `"structured-outputs-2025-11-13"`
1434
1435 - `"task-budgets-2026-03-13"`
1436
1437 - `"thinking-display-updates-2026-08-18"`
1438
1439 - `"ce-user-management-2026-07-13"`
1440
13431441### Body parameters
13441442
13451443- `metadata: map[string]`
from line 1584
14861584
14871585 - `string`
14881586
1489 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1587 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
14901588
14911589 - `"message-batches-2024-09-24"`
14921590
from line 1653
15551653 - `"agent-memory-2026-07-22"`
15561654
15571655 - `"mid-conversation-tool-changes-2026-07-01"`
1656
1657 - `"compact-2026-01-12"`
1658
1659 - `"computer-use-2025-11-24"`
1660
1661 - `"mcp-tunnels-2026-06-22"`
1662
1663 - `"structured-outputs-2025-11-13"`
1664
1665 - `"task-budgets-2026-03-13"`
1666
1667 - `"thinking-display-updates-2026-08-18"`
1668
1669 - `"ce-user-management-2026-07-13"`
15581670
15591671### Returns
15601672
No line in this hunk matches that.