Work changedapi/beta/environments/work
Nearest release: v2.1.281, published 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+40added
Lines−8removed
From line
27
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 27, old and new numbered
/
from line 27
2727
2828 - `string`
2929
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
3131
3232 - `"message-batches-2024-09-24"`
3333
from line 121
121121
122122 - `"compact-2026-09-04"`
123123
124 - `"inline-tools-2026-09-15"`
125
126 - `"mcp-client-2026-09-15"`
127
124128- `"anthropic-workspace-id": optional string`
125129
126130 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 281
277281
278282 - `string`
279283
280 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
284 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
281285
282286 - `"message-batches-2024-09-24"`
283287
from line 375
371375
372376 - `"compact-2026-09-04"`
373377
378 - `"inline-tools-2026-09-15"`
379
380 - `"mcp-client-2026-09-15"`
381
374382- `"Anthropic-Worker-ID": optional string`
375383
376384 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 521
513521
514522 - `string`
515523
516 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
524 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
517525
518526 - `"message-batches-2024-09-24"`
519527
from line 615
607615
608616 - `"compact-2026-09-04"`
609617
618 - `"inline-tools-2026-09-15"`
619
620 - `"mcp-client-2026-09-15"`
621
610622### Returns
611623
612624- `BetaSelfHostedWork object`
from line 768
756768
757769 - `string`
758770
759 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
771 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
760772
761773 - `"message-batches-2024-09-24"`
762774
from line 862
850862
851863 - `"compact-2026-09-04"`
852864
865 - `"inline-tools-2026-09-15"`
866
867 - `"mcp-client-2026-09-15"`
868
853869### Returns
854870
855871- `BetaSelfHostedWorkHeartbeatResponse object`
from line 948
932948
933949 - `string`
934950
935 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
951 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
936952
937953 - `"message-batches-2024-09-24"`
938954
from line 1042
10261042
10271043 - `"compact-2026-09-04"`
10281044
1045 - `"inline-tools-2026-09-15"`
1046
1047 - `"mcp-client-2026-09-15"`
1048
10291049- `"anthropic-workspace-id": optional string`
10301050
10311051 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1210
11901210
11911211 - `string`
11921212
1193 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1213 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
11941214
11951215 - `"message-batches-2024-09-24"`
11961216
from line 1304
12841304
12851305 - `"compact-2026-09-04"`
12861306
1307 - `"inline-tools-2026-09-15"`
1308
1309 - `"mcp-client-2026-09-15"`
1310
12871311### Returns
12881312
12891313- `BetaSelfHostedWorkListResponse object`
from line 1455
14311455
14321456 - `string`
14331457
1434 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1458 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
14351459
14361460 - `"message-batches-2024-09-24"`
14371461
from line 1549
15251549
15261550 - `"compact-2026-09-04"`
15271551
1552 - `"inline-tools-2026-09-15"`
1553
1554 - `"mcp-client-2026-09-15"`
1555
15281556- `"anthropic-workspace-id": optional string`
15291557
15301558 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1705
16771705
16781706 - `string`
16791707
1680 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1708 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
16811709
16821710 - `"message-batches-2024-09-24"`
16831711
from line 1798
17701798 - `"mid-conversation-system-clear-at-2026-08-21"`
17711799
17721800 - `"compact-2026-09-04"`
1801
1802 - `"inline-tools-2026-09-15"`
1803
1804 - `"mcp-client-2026-09-15"`
17731805
17741806- `"anthropic-workspace-id": optional string`
17751807
No line in this hunk matches that.