The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Acknowledge Work
3url: https://platform.claude.com/docs/en/api/beta/environments/work/ack
4---
5
16# Acknowledge Work
27
38**POST** `/v1/environments/{environment_id}/work/{work_id}/ack`
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 127
120127 receive new messages. The environment worker polls for work to execute in a
121128 self-hosted sandbox.
122129
130 - `type: "work"`
131
132 The type of object (always 'work')
133
134 default: work
135
123136 - `id: string`
124137
125138 Work identifier (e.g., 'work_...')
from line 149
136149
137150 The actual work to be performed
138151
139 - `id: string`
140
141 Session identifier (e.g., 'session_...')
142
143152 - `type: "session"`
144153
145154 Type of work data
146155
156 - `id: string`
157
158 Session identifier (e.g., 'session_...')
159
147160 - `environment_id: string`
148161
149162 Environment identifier this work belongs to (e.g., `env_...`)
from line 198
185198 - `stopped_at: string or null`
186199
187200 RFC 3339 timestamp when work execution stopped
188
189 - `type: "work"`
190
191 The type of object (always 'work')
192
193 default: work
194201
195202## Example
196203