Create Workspace changedapi/beta/organization/workspaces/create
Nearest release: v2.1.331, 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+146added
Lines−1removed
From line
117
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 117, old and new numbered
/
from line 117
117117
118118 - `"ce-claude-code-managed-settings-2026-10-06"`
119119
120 - `"efs-2026-10-01"`
121
120122 - `"user-profiles-billing-2026-10-01"`
121123
122124 - `"message-batches-2024-09-24"`
from line 218
216218 a Workspace it cannot be detached or replaced. To rotate key material, rotate
217219 the underlying key on your cloud KMS; the `external_key_id` stays the same.
218220
221- `inference_data_privacy: optional BetaInferenceDataPrivacyCreateParam or null`
222
223 Where the Workspace's retained inference data and transcript copies go, and whether Anthropic's human review applies. Requires the `efs-2026-10-01` `anthropic-beta` value. When omitted, `safeguards_storage` and `transcripts_storage` are `internal` and `human_review` is `enabled`. Cannot be null. An Admin API key can't set this field, because it doesn't belong to a user or a service account. Use an API key that belongs to one, or an OAuth token.
224
225 - `human_review: optional BetaAnthropicHumanReviewParam`
226
227 Whether Anthropic's human review applies to the Workspace. `disabled` needs Anthropic's approval. When omitted, `enabled`. Cannot be null.
228
229 - `type: "disabled" or "enabled"`
230
231 - `"disabled"`
232
233 - `"enabled"`
234
235 - `safeguards_storage: optional BetaStorageMemberParam`
236
237 Where the data Anthropic's safeguards systems retain for the Workspace goes. `external` sends it, once the attach takes effect, to the External Storage that `external_storage_id` names. `internal` means no External Storage: it goes to Anthropic's storage or, on a cloud provider's platform, to that provider's storage. When omitted, `internal`. Cannot be null.
238
239 - `BetaInternalStorageParam object`
240
241 No External Storage for this purpose.
242
243 - `type: "internal"`
244
245 - `BetaExternalStorageMemberParam object`
246
247 The organization's External Storage that `external_storage_id` names.
248
249 - `type: "external"`
250
251 - `external_storage_id: string`
252
253 The External Storage ID, which starts with `estrg_`. Through Claude Platform on AWS, storage whose `provider_config.type` is `aws` has its bucket ARN as its ID instead: `arn:<partition>:s3:::<bucket_name>`, where `<partition>` is the partition of the bucket's region.
254
255 - `transcripts_storage: optional BetaStorageMemberParam`
256
257 Where copies of the Workspace's transcripts and its cases (Anthropic's safety findings about those transcripts) go. `external` sends them, once the attach takes effect, to the External Storage that `external_storage_id` names. `internal` means no External Storage, so no copies are made. When omitted, `internal`. Cannot be null.
258
219259- `tags: optional map[string] or null`
220260
221261 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
from line 365
325365
326366 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
327367
368 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
369
370 Where the Workspace's retained inference data and transcript copies go, and whether Anthropic's human review applies. Returned only to requests that send the `efs-2026-10-01` `anthropic-beta` value, and each member only to organizations enabled for it.
371
372 - `human_review: optional BetaAnthropicHumanReview`
373
374 The Workspace's human review setting. Human review is off only while this is `disabled` and Anthropic's approval stands. If Anthropic withdraws approval, review is back on, though this field still reads `disabled`.
375
376 - `type: "disabled" or "enabled"`
377
378 - `"disabled"`
379
380 - `"enabled"`
381
382 - `safeguards_storage: optional BetaStorageMember`
383
384 Where the data Anthropic's safeguards systems retain for the Workspace goes. `external` sends it to the External Storage that `external_storage_id` names. `internal` means no External Storage: it goes to Anthropic's storage or, on a cloud provider's platform, to that provider's storage. A recent change may not have taken effect yet.
385
386 - `BetaInternalStorage object`
387
388 No External Storage for this purpose.
389
390 - `type: "internal"`
391
392 default: internal
393
394 - `BetaExternalStorageMember object`
395
396 The organization's External Storage that `external_storage_id` names.
397
398 - `type: "external"`
399
400 default: external
401
402 - `external_storage_id: string`
403
404 The External Storage ID, which starts with `estrg_`. Through Claude Platform on AWS, storage whose `provider_config.type` is `aws` has its bucket ARN as its ID instead: `arn:<partition>:s3:::<bucket_name>`, where `<partition>` is the partition of the bucket's region.
405
406 - `transcripts_storage: optional BetaStorageMember`
407
408 Where copies of the Workspace's transcripts and its cases (Anthropic's safety findings about those transcripts) go. `external` sends them to the External Storage that `external_storage_id` names. `internal` means no External Storage, so no copies are made. A recent change may not have taken effect yet.
409
328410## Errors
329411
330412Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
from line 413
331413
332414Each code below is the value of `error.details.error_code` in the response body.
333415
416- `approval_required` (HTTP status 400)
417
418 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
419
334420- `external_key_validation_failed` (HTTP status 400)
335421
336422 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
from line 425
339425
340426 Anthropic's validation of the External Key did not finish in time, so the request was refused. Wait a moment, then send the request again.
341427
428- `external_storage_not_available` (HTTP status 400)
429
430 External Storage isn't available for this Workspace, so only `internal` storage is accepted. The error's `message` says why.
431
432- `grant_required` (HTTP status 400)
433
434 Anthropic has not approved External Storage for the organization, for the Workspace or, for storage bound to a user profile, for that user profile. Contact your Anthropic account team.
435
436- `human_review_not_available` (HTTP status 400)
437
438 Human review can't be set as requested on this Workspace, so the request changed nothing. The error's `message` says what to do instead.
439
440- `human_review_on_with_external_storage` (HTTP status 400)
441
442 The request would leave the Workspace with `inference_data_privacy.safeguards_storage` set to External Storage and `inference_data_privacy.human_review` enabled. Anthropic doesn't offer human review of data in a customer's own storage. Set `human_review` to `disabled`, or `safeguards_storage` to `internal`.
443
444- `invalid_storage_arn` (HTTP status 400)
445
446 On Claude Platform on AWS, the External Storage ID in the request is neither a bucket ARN nor an `estrg_` ID, or is the `estrg_` ID of AWS storage. Name AWS storage by its bucket ARN, `arn:<partition>:s3:::<bucket_name>`, which responses return as its `id`.
447
342448- `key_profile_mismatch` (HTTP status 400)
343449
344450 After this request, the External Key and the Workspace would not have the same user profile. A key and its Workspace must have the same user profile, or both have none.
345451
452- `organization_not_eligible` (HTTP status 400)
453
454 The feature isn't offered to this organization. The error's `message` names the kind of organization or, when it names none, says to contact your Anthropic account team.
455
456- `storage_not_attachable` (HTTP status 400)
457
458 This External Storage can't be attached to the setting named in `field`. The error's `message` says why.
459
460- `storage_profile_mismatch` (HTTP status 400)
461
462 The Workspace's storage and its user profile don't match: the Workspace and its storage must have the same user profile, or both have none.
463
464- `storage_verification_failed` (HTTP status 400)
465
466 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
467
468- `transcripts_storage_required` (HTTP status 400)
469
470 In an organization managed through AWS or Google Cloud, the request would leave the Workspace with `inference_data_privacy.human_review` disabled and `inference_data_privacy.transcripts_storage` not set to External Storage. With human review disabled, the organization reviews its own flagged requests, and it receives them only in that storage.
471
346472- `user_profile_not_found` (HTTP status 400)
347473
348474 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
from line 485
359485
360486 The external key changed while the request was validating it. Send the request again.
361487
488- `authorization_check_unavailable` (HTTP status 503)
489
490 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
491
492- `workspace_created_incomplete` (HTTP status 503)
493
494 The Workspace was created, but some of what the request asked for did not take effect, or may not have. Don't send the create again. The error's `message` says what to do with the Workspace at `workspace_id`.
495
362496## Example
363497
364498```bash
from line 533
399533 "team": "platform"
400534 },
401535 "type": "workspace",
402 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
536 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
537 "inference_data_privacy": {
538 "human_review": {
539 "type": "disabled"
540 },
541 "safeguards_storage": {
542 "type": "internal"
543 },
544 "transcripts_storage": {
545 "type": "internal"
546 }
547 }
403548}
404549```
405550
No line in this hunk matches that.