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

Create Environment changed

api/beta/environments/create

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+42added
Lines−33removed
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: Create Environment
3url: https://platform.claude.com/docs/en/api/beta/environments/create
4---
5 
16# Create Environment
27 
38**POST** `/v1/environments`
from line 17
1217 
1318 - `string`
1419 
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
20 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1621 
1722 - `"message-batches-2024-09-24"`
1823 
from line 65
6065 
6166 - `"user-profiles-2026-08-18"`
6267 
68 - `"user-profiles-2026-09-04"`
69 
6370 - `"advisor-tool-2026-03-01"`
6471 
6572 - `"managed-agents-2026-04-01"`
from line 109
102109 
103110 - `"mid-conversation-system-clear-at-2026-08-21"`
104111 
112- `"anthropic-workspace-id": optional string`
113 
105114## Body parameters
106115 
107116- `name: string`
from line 177
168177 
169178 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
170179 
180 - `type: optional "packages"`
181 
182 Package configuration type
183 
184 default: packages
185 
171186 - `apt: optional array of string or null`
172187 
173188 Ubuntu/Debian packages to install
from line 207
192207 
193208 Python packages to install
194209 
195 - `type: optional "packages"`
196 
197 Package configuration type
198 
199 default: packages
200 
201210 - `BetaSelfHostedConfigParams object`
202211 
203212 Request params for `self_hosted` environment configuration.
from line 227
218227 
219228- `scope: optional "organization" or "account" or null`
220229 
221 The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. Only applicable for self-hosted environments. If not specified, defaults based on organization type.
230 The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. API organizations support only 'organization'; 'account' is rejected. If not specified, defaults based on organization type.
222231 
223232 - `"organization"`
224233 
from line 239
230239 
231240 Unified Environment resource for both cloud and self-hosted environments.
232241 
242 - `type: "environment"`
243 
244 The type of object (always 'environment')
245 
246 default: environment
247 
233248 - `id: string`
234249 
235250 Environment identifier (e.g., 'env_...')
from line 261
246261 
247262 `cloud` environment configuration.
248263 
264 - `type: "cloud"`
265 
266 Environment type
267 
249268 - `networking: BetaUnrestrictedNetwork or BetaLimitedNetwork`
250269 
251270 Network configuration policy.
from line 281
262281 
263282 Limited network access.
264283 
284 - `type: "limited"`
285 
286 Network policy type
287 
265288 - `allow_mcp_servers: boolean`
266289 
267290 Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the `allowed_hosts` array.
from line 297
274297 
275298 Specifies domains the container can reach.
276299 
277 - `type: "limited"`
278 
279 Network policy type
280 
281300 - `packages: BetaPackages`
282301 
283302 Package manager configuration.
284303 
304 - `type: optional "packages"`
305 
306 Package configuration type
307 
308 default: packages
309 
285310 - `apt: array of string`
286311 
287312 Ubuntu/Debian packages to install
from line 331
306331 
307332 Python packages to install
308333 
309 - `type: optional "packages"`
310 
311 Package configuration type
312 
313 default: packages
314 
315 - `type: "cloud"`
316 
317 Environment type
318 
319334 - `BetaSelfHostedConfig object`
320335 
321336 Configuration for self-hosted environments.
from line 354
339354 - `name: string`
340355 
341356 Human-readable name for the environment
342 
343 - `type: "environment"`
344 
345 The type of object (always 'environment')
346 
347 default: environment
348357 
349358 - `updated_at: string`
350359