List Environments changedapi/beta/environments/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+20added
Lines−29removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
# List Environments ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Environments ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: List Environments
3url: https://platform.claude.com/docs/en/api/beta/environments/list
4---
1# List Environments
52
6## List Environments
3**GET** `/v1/environments`
74
8**get** `/v1/environments`
9
105List environments with pagination support.
116
12### Query Parameters
7## Query parameters
138
149- `include_archived: optional boolean`
1510
1611 Include archived environments in the response
1712
13 default: false
14
1815- `limit: optional number`
1916
2017 Maximum number of environments to return
2118
19 default: 20, maximum: 1000, minimum: 1
20
2221- `page: optional string`
2322
2423 Opaque cursor from previous response for pagination. Pass the `next_page` value from the previous response.
2524
26### Header Parameters
25## Headers
2726
2827- `"anthropic-beta": optional array of AnthropicBeta`
2928
from line 100
101100
102101 - `"mid-conversation-tool-changes-2026-07-01"`
103102
104### Returns
103## Returns
105104
106105- `data: array of BetaEnvironment`
107106
from line 118
119118
120119 Environment configuration (either Anthropic Cloud or self-hosted)
121120
122 - `BetaCloudConfig object { networking, packages, type }`
121 - `BetaCloudConfig object`
123122
124123 `cloud` environment configuration.
125124
from line 126
127126
128127 Network configuration policy.
129128
130 - `BetaUnrestrictedNetwork object { type }`
129 - `BetaUnrestrictedNetwork object`
131130
132131 Unrestricted network access.
133132
from line 134
135134
136135 Network policy type
137136
138 - `"unrestricted"`
137 - `BetaLimitedNetwork object`
139138
140 - `BetaLimitedNetwork object { allow_mcp_servers, allow_package_managers, allowed_hosts, type }`
141
142139 Limited network access.
143140
144141 - `allow_mcp_servers: boolean`
from line 154
157154
158155 Network policy type
159156
160 - `"limited"`
161
162157 - `packages: BetaPackages`
163158
164159 Package manager configuration.
from line 186
191186
192187 Package configuration type
193188
194 - `"packages"`
189 default: packages
195190
196191 - `type: "cloud"`
197192
198193 Environment type
199194
200 - `"cloud"`
195 - `BetaSelfHostedConfig object`
201196
202 - `BetaSelfHostedConfig object { type }`
203
204197 Configuration for self-hosted environments.
205198
206199 - `type: "self_hosted"`
from line 200
207200
208201 Environment type
209202
210 - `"self_hosted"`
211
212203 - `created_at: string`
213204
214205 RFC 3339 timestamp when environment was created
from line 220
229220
230221 The type of object (always 'environment')
231222
232 - `"environment"`
223 default: environment
233224
234225 - `updated_at: string`
235226
from line 238
247238
248239 Token for fetching the next page of results. If `null`, there are no more results available. Pass this value to the `page` parameter in the next request.
249240
250### Example
241## Example
251242
252```http
243```bash
253244curl https://api.anthropic.com/v1/environments \
254245 -H 'anthropic-version: 2023-06-01' \
255246 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 247
256247 -H "X-Api-Key: $ANTHROPIC_API_KEY"
257248```
258249
259#### Response
250### Response (200)
260251
261252```json
262253{
No line in this hunk matches that.