Archive Environment changedapi/beta/environments/archive
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+35added
Lines−26removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Archive Environment
3url: https://platform.claude.com/docs/en/api/beta/environments/archive
4---
5
16# Archive Environment
27
38**POST** `/v1/environments/{environment_id}/archive`
from line 21
1621
1722 - `string`
1823
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2025
2126 - `"message-batches-2024-09-24"`
2227
from line 69
6469
6570 - `"user-profiles-2026-08-18"`
6671
72 - `"user-profiles-2026-09-04"`
73
6774 - `"advisor-tool-2026-03-01"`
6875
6976 - `"managed-agents-2026-04-01"`
from line 113
106113
107114 - `"mid-conversation-system-clear-at-2026-08-21"`
108115
116- `"anthropic-workspace-id": optional string`
117
109118## Returns
110119
111120- `BetaEnvironment object`
from line 121
112121
113122 Unified Environment resource for both cloud and self-hosted environments.
114123
124 - `type: "environment"`
125
126 The type of object (always 'environment')
127
128 default: environment
129
115130 - `id: string`
116131
117132 Environment identifier (e.g., 'env_...')
from line 143
128143
129144 `cloud` environment configuration.
130145
146 - `type: "cloud"`
147
148 Environment type
149
131150 - `networking: BetaUnrestrictedNetwork or BetaLimitedNetwork`
132151
133152 Network configuration policy.
from line 163
144163
145164 Limited network access.
146165
166 - `type: "limited"`
167
168 Network policy type
169
147170 - `allow_mcp_servers: boolean`
148171
149172 Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the `allowed_hosts` array.
from line 179
156179
157180 Specifies domains the container can reach.
158181
159 - `type: "limited"`
160
161 Network policy type
162
163182 - `packages: BetaPackages`
164183
165184 Package manager configuration.
166185
186 - `type: optional "packages"`
187
188 Package configuration type
189
190 default: packages
191
167192 - `apt: array of string`
168193
169194 Ubuntu/Debian packages to install
from line 213
188213
189214 Python packages to install
190215
191 - `type: optional "packages"`
192
193 Package configuration type
194
195 default: packages
196
197 - `type: "cloud"`
198
199 Environment type
200
201216 - `BetaSelfHostedConfig object`
202217
203218 Configuration for self-hosted environments.
from line 236
221236 - `name: string`
222237
223238 Human-readable name for the environment
224
225 - `type: "environment"`
226
227 The type of object (always 'environment')
228
229 default: environment
230239
231240 - `updated_at: string`
232241
No line in this hunk matches that.