Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Get Work Item changed

api/beta/environments/work/retrieve

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

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---
5 
16# Get Work Item
27 
38**GET** `/v1/environments/{environment_id}/work/{work_id}`
from line 25
2025 
2126 - `string`
2227 
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2429 
2530 - `"message-batches-2024-09-24"`
2631 
from line 73
6873 
6974 - `"user-profiles-2026-08-18"`
7075 
76 - `"user-profiles-2026-09-04"`
77 
7178 - `"advisor-tool-2026-03-01"`
7279 
7380 - `"managed-agents-2026-04-01"`
from line 117
110117 
111118 - `"mid-conversation-system-clear-at-2026-08-21"`
112119 
120- `"anthropic-workspace-id": optional string`
121 
113122## Returns
114123 
115124- `BetaSelfHostedWork object`
from line 129
120129 receive new messages. The environment worker polls for work to execute in a
121130 self-hosted sandbox.
122131 
132 - `type: "work"`
133 
134 The type of object (always 'work')
135 
136 default: work
137 
123138 - `id: string`
124139 
125140 Work identifier (e.g., 'work_...')
from line 151
136151 
137152 The actual work to be performed
138153 
139 - `id: string`
140 
141 Session identifier (e.g., 'session_...')
142 
143154 - `type: "session"`
144155 
145156 Type of work data
146157 
158 - `id: string`
159 
160 Session identifier (e.g., 'session_...')
161 
147162 - `environment_id: string`
148163 
149164 Environment identifier this work belongs to (e.g., `env_...`)
from line 200
185200 - `stopped_at: string or null`
186201 
187202 RFC 3339 timestamp when work execution stopped
188 
189 - `type: "work"`
190 
191 The type of object (always 'work')
192 
193 default: work
194203 
195204## Example
196205