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

Update Work Item changed

api/beta/environments/work/update

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: Update Work Item
3url: https://platform.claude.com/docs/en/api/beta/environments/work/update
4---
5 
16# Update Work Item
27 
38**POST** `/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## Body parameters
114123 
115124- `metadata: map[string]`
from line 135
126135 receive new messages. The environment worker polls for work to execute in a
127136 self-hosted sandbox.
128137 
138 - `type: "work"`
139 
140 The type of object (always 'work')
141 
142 default: work
143 
129144 - `id: string`
130145 
131146 Work identifier (e.g., 'work_...')
from line 157
142157 
143158 The actual work to be performed
144159 
145 - `id: string`
146 
147 Session identifier (e.g., 'session_...')
148 
149160 - `type: "session"`
150161 
151162 Type of work data
152163 
164 - `id: string`
165 
166 Session identifier (e.g., 'session_...')
167 
153168 - `environment_id: string`
154169 
155170 Environment identifier this work belongs to (e.g., `env_...`)
from line 206
191206 - `stopped_at: string or null`
192207 
193208 RFC 3339 timestamp when work execution stopped
194 
195 - `type: "work"`
196 
197 The type of object (always 'work')
198 
199 default: work
200209 
201210## Example
202211