Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Get Work Item changedapi/beta/environments/work/retrieve

Nearest release: v2.1.245, 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+14added
Lines−21removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits17to this page, all time

# Get Work Item ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Work Item ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get Work Item
3url: https://platform.claude.com/docs/en/api/beta/environments/work/retrieve
4---
1# Get Work Item
52 
6## Get Work Item
3**GET** `/v1/environments/{environment_id}/work/{work_id}`
74 
8**get** `/v1/environments/{environment_id}/work/{work_id}`
9 
105Note: 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.
116 
127Retrieve detailed information about a specific work item.
138 
14### Path Parameters
9## Path parameters
1510 
1611- `environment_id: string`
1712 
1813- `work_id: string`
1914 
20### Header Parameters
15## Headers
2116 
2217- `"anthropic-beta": optional array of AnthropicBeta`
2318 
from line 90
9590 
9691 - `"mid-conversation-tool-changes-2026-07-01"`
9792 
98### Returns
93## Returns
9994 
100- `BetaSelfHostedWork object { id, acknowledged_at, created_at, 10 more }`
95- `BetaSelfHostedWork object`
10196 
10297 Work resource representing a unit of work in a self-hosted environment.
10398 
from line 124
129124 
130125 Type of work data
131126 
132 - `"session"`
133 
134127 - `environment_id: string`
135128 
136129 Environment identifier this work belongs to (e.g., `env_...`)
from line 170
177170 
178171 The type of object (always 'work')
179172 
180 - `"work"`
173 default: work
181174 
182### Example
175## Example
183176 
184```http
177```bash
185178curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work/$WORK_ID \
186179 -H 'anthropic-version: 2023-06-01' \
187180 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 181
188181 -H "X-Api-Key: $ANTHROPIC_API_KEY"
189182```
190183 
191#### Response
184### Response (200)
192185 
193186```json
194187{
Feedback