Work changedapi/beta/environments/work
Nearest release: v2.1.330, 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+22added
Lines−8removed
From line
9
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 9, old and new numbered
/
from line 9
99
1010**GET** `/v1/environments/{environment_id}/work/{work_id}`
1111
12Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
13
1412Retrieve detailed information about a specific work item.
1513
14This endpoint accepts a Claude API key. It rejects the environment key and the work item's `secret`. On [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws?sdk_languages=http) or [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed?sdk_languages=http), use that platform's credentials instead.
15
1616### Path parameters
1717
1818- `environment_id: string`
from line 125
125125
126126 - `"experimental-claude-tag-2026-10-21"`
127127
128 - `"ce-claude-code-managed-settings-2026-10-06"`
129
128130 - `"user-profiles-billing-2026-10-01"`
129131
130132 - `"message-batches-2024-09-24"`
from line 437
435437
436438 - `"experimental-claude-tag-2026-10-21"`
437439
440 - `"ce-claude-code-managed-settings-2026-10-06"`
441
438442 - `"user-profiles-billing-2026-10-01"`
439443
440444 - `"message-batches-2024-09-24"`
from line 721
717721
718722 - `"experimental-claude-tag-2026-10-21"`
719723
724 - `"ce-claude-code-managed-settings-2026-10-06"`
725
720726 - `"user-profiles-billing-2026-10-01"`
721727
722728 - `"message-batches-2024-09-24"`
from line 1012
10061012
10071013 - `"experimental-claude-tag-2026-10-21"`
10081014
1015 - `"ce-claude-code-managed-settings-2026-10-06"`
1016
10091017 - `"user-profiles-billing-2026-10-01"`
10101018
10111019 - `"message-batches-2024-09-24"`
from line 1130
11221130
11231131**POST** `/v1/environments/{environment_id}/work/{work_id}/stop`
11241132
1125Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
1126
11271133Stop a work item, initiating graceful or forced shutdown.
11281134
11291135### Path parameters
from line 1244
12381244
12391245 - `"experimental-claude-tag-2026-10-21"`
12401246
1247 - `"ce-claude-code-managed-settings-2026-10-06"`
1248
12411249 - `"user-profiles-billing-2026-10-01"`
12421250
12431251 - `"message-batches-2024-09-24"`
from line 1438
14301438
14311439**GET** `/v1/environments/{environment_id}/work`
14321440
1433Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
1434
14351441List work items in an environment.
14361442
1443This endpoint accepts the environment key as a bearer token. It rejects a Claude API key. On [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws?sdk_languages=http) or [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed?sdk_languages=http), use that platform's credentials instead.
1444
14371445### Path parameters
14381446
14391447- `environment_id: string`
from line 1564
15561564
15571565 - `"experimental-claude-tag-2026-10-21"`
15581566
1567 - `"ce-claude-code-managed-settings-2026-10-06"`
1568
15591569 - `"user-profiles-billing-2026-10-01"`
15601570
15611571 - `"message-batches-2024-09-24"`
from line 1737
17271737
17281738**POST** `/v1/environments/{environment_id}/work/{work_id}`
17291739
1730Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating sessions with self-hosted sandbox environments. They are included here as a reference; you do not need to invoke them directly.
1731
17321740Update work item metadata with merge semantics.
17331741
1742This endpoint accepts a Claude API key. It rejects the environment key and the work item's `secret`. On [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws?sdk_languages=http) or [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed?sdk_languages=http), use that platform's credentials instead.
1743
17341744### Path parameters
17351745
17361746- `environment_id: string`
from line 1853
18431853
18441854 - `"experimental-claude-tag-2026-10-21"`
18451855
1856 - `"ce-claude-code-managed-settings-2026-10-06"`
1857
18461858 - `"user-profiles-billing-2026-10-01"`
18471859
18481860 - `"message-batches-2024-09-24"`
from line 2164
21522164 - `"analytics-usage-cost-2026-08-24"`
21532165
21542166 - `"experimental-claude-tag-2026-10-21"`
2167
2168 - `"ce-claude-code-managed-settings-2026-10-06"`
21552169
21562170 - `"user-profiles-billing-2026-10-01"`
21572171
No line in this hunk matches that.