Work changedapi/beta/environments/work
Nearest release: v2.1.258, published an hour 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+56added
Lines−8removed
From line
22
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to 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 38 more`
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
2626
2727 - `"message-batches-2024-09-24"`
2828
from line 106
106106
107107 - `"ce-user-management-2026-07-13"`
108108
109 - `"mid-conversation-output-config-2026-07-01"`
110
111 - `"thinking-binding-controls-2026-08-01"`
112
113 - `"mid-conversation-system-clear-at-2026-08-21"`
114
109115### Returns
110116
111117- `BetaSelfHostedWork object`
from line 262
256262
257263 - `string`
258264
259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
265 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
260266
261267 - `"message-batches-2024-09-24"`
262268
from line 346
340346
341347 - `"ce-user-management-2026-07-13"`
342348
349 - `"mid-conversation-output-config-2026-07-01"`
350
351 - `"thinking-binding-controls-2026-08-01"`
352
353 - `"mid-conversation-system-clear-at-2026-08-21"`
354
343355- `"Anthropic-Worker-ID": optional string`
344356
345357 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 494
482494
483495 - `string`
484496
485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
497 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
486498
487499 - `"message-batches-2024-09-24"`
488500
from line 578
566578
567579 - `"ce-user-management-2026-07-13"`
568580
581 - `"mid-conversation-output-config-2026-07-01"`
582
583 - `"thinking-binding-controls-2026-08-01"`
584
585 - `"mid-conversation-system-clear-at-2026-08-21"`
586
569587### Returns
570588
571589- `BetaSelfHostedWork object`
from line 733
715733
716734 - `string`
717735
718 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
736 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
719737
720738 - `"message-batches-2024-09-24"`
721739
from line 817
799817
800818 - `"ce-user-management-2026-07-13"`
801819
820 - `"mid-conversation-output-config-2026-07-01"`
821
822 - `"thinking-binding-controls-2026-08-01"`
823
824 - `"mid-conversation-system-clear-at-2026-08-21"`
825
802826### Returns
803827
804828- `BetaSelfHostedWorkHeartbeatResponse object`
from line 905
881905
882906 - `string`
883907
884 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
908 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
885909
886910 - `"message-batches-2024-09-24"`
887911
from line 989
965989
966990 - `"ce-user-management-2026-07-13"`
967991
992 - `"mid-conversation-output-config-2026-07-01"`
993
994 - `"thinking-binding-controls-2026-08-01"`
995
996 - `"mid-conversation-system-clear-at-2026-08-21"`
997
968998### Body parameters
969999
9701000- `force: optional boolean`
from line 1153
11231153
11241154 - `string`
11251155
1126 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1156 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
11271157
11281158 - `"message-batches-2024-09-24"`
11291159
from line 1237
12071237
12081238 - `"ce-user-management-2026-07-13"`
12091239
1240 - `"mid-conversation-output-config-2026-07-01"`
1241
1242 - `"thinking-binding-controls-2026-08-01"`
1243
1244 - `"mid-conversation-system-clear-at-2026-08-21"`
1245
12101246### Returns
12111247
12121248- `BetaSelfHostedWorkListResponse object`
from line 1390
13541390
13551391 - `string`
13561392
1357 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1393 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
13581394
13591395 - `"message-batches-2024-09-24"`
13601396
from line 1474
14381474
14391475 - `"ce-user-management-2026-07-13"`
14401476
1477 - `"mid-conversation-output-config-2026-07-01"`
1478
1479 - `"thinking-binding-controls-2026-08-01"`
1480
1481 - `"mid-conversation-system-clear-at-2026-08-21"`
1482
14411483### Body parameters
14421484
14431485- `metadata: map[string]`
from line 1626
15841626
15851627 - `string`
15861628
1587 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1629 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
15881630
15891631 - `"message-batches-2024-09-24"`
15901632
from line 1709
16671709 - `"thinking-display-updates-2026-08-18"`
16681710
16691711 - `"ce-user-management-2026-07-13"`
1712
1713 - `"mid-conversation-output-config-2026-07-01"`
1714
1715 - `"thinking-binding-controls-2026-08-01"`
1716
1717 - `"mid-conversation-system-clear-at-2026-08-21"`
16701718
16711719### Returns
16721720
No line in this hunk matches that.