Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Update Environment changedapi/beta/environments/update

Nearest release: v2.1.247, published under an hour before 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+18added
Lines−2removed
From line 16 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits18to this page, all time

The whole hunk

from line 16, old and new numbered
/
lines
from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 86
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
8888 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
102 
89103## Body parameters
90104 
91105- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 146
132146 
133147 - `allow_package_managers: optional boolean or null`
134148 
135 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
149 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
136150 
137151 - `allowed_hosts: optional array of string or null`
138152 
from line 157
143157 Specify packages (and optionally their versions) available in this environment.
144158 
145159 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
160 
161 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
146162 
147163 - `apt: optional array of string or null`
148164 
Feedback