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

List Work Items changedapi/beta/environments/work/list

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+16added
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

# List Work Items ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Work Items ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response

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---
1# List Work Items
52 
6## List Work Items
3**GET** `/v1/environments/{environment_id}/work`
74 
8**get** `/v1/environments/{environment_id}/work`
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 
127List work items in an environment.
138 
14### Path Parameters
9## Path parameters
1510 
1611- `environment_id: string`
1712 
18### Query Parameters
13## Query parameters
1914 
2015- `limit: optional number`
2116 
2217 Maximum number of work items to return
2318 
19 default: 20, maximum: 1000, minimum: 1
20 
2421- `page: optional string`
2522 
2623 Opaque cursor from previous response for pagination
2724 
28### Header Parameters
25## Headers
2926 
3027- `"anthropic-beta": optional array of AnthropicBeta`
3128 
from line 100
103100 
104101 - `"mid-conversation-tool-changes-2026-07-01"`
105102 
106### Returns
103## Returns
107104 
108- `BetaSelfHostedWorkListResponse object { data, next_page }`
105- `BetaSelfHostedWorkListResponse object`
109106 
110107 Response when listing work items with cursor-based pagination.
111108 
from line 134
137134 
138135 Type of work data
139136 
140 - `"session"`
141 
142137 - `environment_id: string`
143138 
144139 Environment identifier this work belongs to (e.g., `env_...`)
from line 180
185180 
186181 The type of object (always 'work')
187182 
188 - `"work"`
183 default: work
189184 
190185 - `next_page: string or null`
191186 
192187 Opaque cursor for fetching the next page of results
193188 
194### Example
189## Example
195190 
196```http
191```bash
197192curl https://api.anthropic.com/v1/environments/$ENVIRONMENT_ID/work \
198193 -H 'anthropic-version: 2023-06-01' \
199194 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 195
200195 -H "X-Api-Key: $ANTHROPIC_API_KEY"
201196```
202197 
203#### Response
198### Response (200)
204199 
205200```json
206201{
Feedback