The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List Work Items
3url: https://platform.claude.com/docs/en/api/beta/environments/work/list
4---
5
16# List Work Items
27
38**GET** `/v1/environments/{environment_id}/work`
from line 35
3035
3136 - `string`
3237
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
38 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3439
3540 - `"message-batches-2024-09-24"`
3641
from line 83
7883
7984 - `"user-profiles-2026-08-18"`
8085
86 - `"user-profiles-2026-09-04"`
87
8188 - `"advisor-tool-2026-03-01"`
8289
8390 - `"managed-agents-2026-04-01"`
from line 137
130137
131138 List of work items
132139
140 - `type: "work"`
141
142 The type of object (always 'work')
143
144 default: work
145
133146 - `id: string`
134147
135148 Work identifier (e.g., 'work_...')
from line 159
146159
147160 The actual work to be performed
148161
149 - `id: string`
150
151 Session identifier (e.g., 'session_...')
152
153162 - `type: "session"`
154163
155164 Type of work data
156165
166 - `id: string`
167
168 Session identifier (e.g., 'session_...')
169
157170 - `environment_id: string`
158171
159172 Environment identifier this work belongs to (e.g., `env_...`)
from line 208
195208 - `stopped_at: string or null`
196209
197210 RFC 3339 timestamp when work execution stopped
198
199 - `type: "work"`
200
201 The type of object (always 'work')
202
203 default: work
204211
205212 - `next_page: string or null`
206213