This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 61
6161
6262## Domain types
6363
64### Beta Approval Required Error Details
65
66- `BetaApprovalRequiredErrorDetails object`
67
68 - `error_code: "approval_required"`
69
70 - `field: string`
71
72 The request field that needs the approval.
73
74### Beta Authorization Check Unavailable Error Details
75
76- `BetaAuthorizationCheckUnavailableErrorDetails object`
77
78 - `error_code: "authorization_check_unavailable"`
79
80### Beta Human Review Not Available Error Details
81
82- `BetaHumanReviewNotAvailableErrorDetails object`
83
84 - `error_code: "human_review_not_available"`
85
6486### Beta Organization
6587
6688- `BetaOrganization object`
from line 105
83105
84106 Name of the Organization.
85107
108### Beta Organization Not Eligible Error Details
109
110- `BetaOrganizationNotEligibleErrorDetails object`
111
112 - `error_code: "organization_not_eligible"`
113
86114### Beta Organization Role
87115
88116- `BetaOrganizationRole = "admin" or "billing" or "claude_code_user" or 6 more`
from line 133
105133
106134 - `"user"`
107135
136## Errors
137
138### approval_required
139
140HTTP status 400
141
142- `"approval_required"`
143
144 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
145
146 - `details: BetaApprovalRequiredErrorDetails`
147
148 - `error_code: "approval_required"`
149
150 - `field: string`
151
152 The request field that needs the approval.
153
154### human_review_not_available
155
156HTTP status 400
157
158- `"human_review_not_available"`
159
160 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.
161
162 - `details: BetaHumanReviewNotAvailableErrorDetails`
163
164 - `error_code: "human_review_not_available"`
165
166### organization_not_eligible
167
168HTTP status 400
169
170- `"organization_not_eligible"`
171
172 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.
173
174 - `details: BetaOrganizationNotEligibleErrorDetails`
175
176 - `error_code: "organization_not_eligible"`
177
178### authorization_check_unavailable
179
180HTTP status 503
181
182- `"authorization_check_unavailable"`
183
184 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
185
186 - `details: BetaAuthorizationCheckUnavailableErrorDetails`
187
188 - `error_code: "authorization_check_unavailable"`
189
108190## Organization › API Keys
109191
110192### List API Keys
from line 1880
17981880
17991881 - `"ce-claude-code-managed-settings-2026-10-06"`
18001882
1883 - `"efs-2026-10-01"`
1884
18011885 - `"user-profiles-billing-2026-10-01"`
18021886
18031887 - `"message-batches-2024-09-24"`
from line 2326
22422326
22432327 - `"ce-claude-code-managed-settings-2026-10-06"`
22442328
2329 - `"efs-2026-10-01"`
2330
22452331 - `"user-profiles-billing-2026-10-01"`
22462332
22472333 - `"message-batches-2024-09-24"`
from line 2673
25872673
25882674 - `"ce-claude-code-managed-settings-2026-10-06"`
25892675
2676 - `"efs-2026-10-01"`
2677
25902678 - `"user-profiles-billing-2026-10-01"`
25912679
25922680 - `"message-batches-2024-09-24"`
from line 3023
29353023
29363024 - `"ce-claude-code-managed-settings-2026-10-06"`
29373025
3026 - `"efs-2026-10-01"`
3027
29383028 - `"user-profiles-billing-2026-10-01"`
29393029
29403030 - `"message-batches-2024-09-24"`
from line 3461
33713461
33723462 - `"ce-claude-code-managed-settings-2026-10-06"`
33733463
3464 - `"efs-2026-10-01"`
3465
33743466 - `"user-profiles-billing-2026-10-01"`
33753467
33763468 - `"message-batches-2024-09-24"`
from line 3825
37333825
37343826 - `"ce-claude-code-managed-settings-2026-10-06"`
37353827
3828 - `"efs-2026-10-01"`
3829
37363830 - `"user-profiles-billing-2026-10-01"`
37373831
37383832 - `"message-batches-2024-09-24"`
from line 4296
42024296
42034297 - `"ce-claude-code-managed-settings-2026-10-06"`
42044298
4299 - `"efs-2026-10-01"`
4300
42054301 - `"user-profiles-billing-2026-10-01"`
42064302
42074303 - `"message-batches-2024-09-24"`
from line 4643
45474643
45484644 - `"ce-claude-code-managed-settings-2026-10-06"`
45494645
4646 - `"efs-2026-10-01"`
4647
45504648 - `"user-profiles-billing-2026-10-01"`
45514649
45524650 - `"message-batches-2024-09-24"`
from line 5008
49105008
49115009 - `"ce-claude-code-managed-settings-2026-10-06"`
49125010
5011 - `"efs-2026-10-01"`
5012
49135013 - `"user-profiles-billing-2026-10-01"`
49145014
49155015 - `"message-batches-2024-09-24"`
from line 5455
53555455
53565456 - `"ce-claude-code-managed-settings-2026-10-06"`
53575457
5458 - `"efs-2026-10-01"`
5459
53585460 - `"user-profiles-billing-2026-10-01"`
53595461
53605462 - `"message-batches-2024-09-24"`
from line 5826
57245826
57255827 - `"ce-claude-code-managed-settings-2026-10-06"`
57265828
5829 - `"efs-2026-10-01"`
5830
57275831 - `"user-profiles-billing-2026-10-01"`
57285832
57295833 - `"message-batches-2024-09-24"`
from line 6081
59776081
59786082 - `"ce-claude-code-managed-settings-2026-10-06"`
59796083
6084 - `"efs-2026-10-01"`
6085
59806086 - `"user-profiles-billing-2026-10-01"`
59816087
59826088 - `"message-batches-2024-09-24"`
from line 6316
62106316
62116317 - `"ce-claude-code-managed-settings-2026-10-06"`
62126318
6319 - `"efs-2026-10-01"`
6320
62136321 - `"user-profiles-billing-2026-10-01"`
62146322
62156323 - `"message-batches-2024-09-24"`
from line 7081
69737081
69747082 - `"ce-claude-code-managed-settings-2026-10-06"`
69757083
7084 - `"efs-2026-10-01"`
7085
69767086 - `"user-profiles-billing-2026-10-01"`
69777087
69787088 - `"message-batches-2024-09-24"`
from line 7388
72787388
72797389 - `"ce-claude-code-managed-settings-2026-10-06"`
72807390
7391 - `"efs-2026-10-01"`
7392
72817393 - `"user-profiles-billing-2026-10-01"`
72827394
72837395 - `"message-batches-2024-09-24"`
from line 7647
75357647
75367648 - `"ce-claude-code-managed-settings-2026-10-06"`
75377649
7650 - `"efs-2026-10-01"`
7651
75387652 - `"user-profiles-billing-2026-10-01"`
75397653
75407654 - `"message-batches-2024-09-24"`
from line 7907
77937907
77947908 - `"ce-claude-code-managed-settings-2026-10-06"`
77957909
7910 - `"efs-2026-10-01"`
7911
77967912 - `"user-profiles-billing-2026-10-01"`
77977913
77987914 - `"message-batches-2024-09-24"`
from line 8195
80798195
80808196 - `"ce-claude-code-managed-settings-2026-10-06"`
80818197
8198 - `"efs-2026-10-01"`
8199
80828200 - `"user-profiles-billing-2026-10-01"`
80838201
80848202 - `"message-batches-2024-09-24"`
from line 8470
83528470
83538471 - `"ce-claude-code-managed-settings-2026-10-06"`
83548472
8473 - `"efs-2026-10-01"`
8474
83558475 - `"user-profiles-billing-2026-10-01"`
83568476
83578477 - `"message-batches-2024-09-24"`
from line 8754
86348754
86358755 - `"ce-claude-code-managed-settings-2026-10-06"`
86368756
8757 - `"efs-2026-10-01"`
8758
86378759 - `"user-profiles-billing-2026-10-01"`
86388760
86398761 - `"message-batches-2024-09-24"`
from line 9000
88789000
88799001 - `"ce-claude-code-managed-settings-2026-10-06"`
88809002
9003 - `"efs-2026-10-01"`
9004
88819005 - `"user-profiles-billing-2026-10-01"`
88829006
88839007 - `"message-batches-2024-09-24"`
from line 9087
89639087}
89649088```
89659089
9090## Organization › External Storage
9091
9092### Create External Storage
9093
9094**POST** `/v1/organizations/external_storage`
9095
9096Register a bucket in the organization's own cloud account. It is saved
9097as `pending_configuration` and verified when activated.
9098
9099#### Headers
9100
9101- `"anthropic-version": optional string`
9102
9103 The version of the Claude API you want to use.
9104
9105 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
9106
9107- `"anthropic-beta": array of AnthropicBeta`
9108
9109 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
9110
9111 - `string`
9112
9113 - `"computer-use-2024-10-22"`
9114
9115 - `"computer-use-2025-01-24"`
9116
9117 - `"output-128k-2025-02-19"`
9118
9119 - `"mcp-client-2025-04-04"`
9120
9121 - `"mcp-client-2025-11-20"`
9122
9123 - `"dev-full-thinking-2025-05-14"`
9124
9125 - `"interleaved-thinking-2025-05-14"`
9126
9127 - `"code-execution-2025-05-22"`
9128
9129 - `"context-1m-2025-08-07"`
9130
9131 - `"context-management-2025-06-27"`
9132
9133 - `"model-context-window-exceeded-2025-08-26"`
9134
9135 - `"fast-mode-2026-02-01"`
9136
9137 - `"output-300k-2026-03-24"`
9138
9139 - `"user-profiles-2026-03-24"`
9140
9141 - `"user-profiles-2026-08-18"`
9142
9143 - `"user-profiles-2026-09-04"`
9144
9145 - `"advisor-tool-2026-03-01"`
9146
9147 - `"managed-agents-2026-04-01"`
9148
9149 - `"dreaming-2026-04-21"`
9150
9151 - `"thinking-token-count-2026-05-13"`
9152
9153 - `"server-side-fallback-2026-06-01"`
9154
9155 - `"server-side-fallback-2026-07-01"`
9156
9157 - `"fallback-credit-2026-06-01"`
9158
9159 - `"fallback-credit-2026-07-01"`
9160
9161 - `"agent-memory-2026-07-22"`
9162
9163 - `"mid-conversation-tool-changes-2026-07-01"`
9164
9165 - `"compact-2026-01-12"`
9166
9167 - `"computer-use-2025-11-24"`
9168
9169 - `"mcp-tunnels-2026-06-22"`
9170
9171 - `"structured-outputs-2025-11-13"`
9172
9173 - `"task-budgets-2026-03-13"`
9174
9175 - `"thinking-display-updates-2026-08-18"`
9176
9177 - `"mid-conversation-output-config-2026-07-01"`
9178
9179 - `"thinking-binding-controls-2026-08-01"`
9180
9181 - `"mid-conversation-system-clear-at-2026-08-21"`
9182
9183 - `"compact-2026-09-04"`
9184
9185 - `"inline-tools-2026-09-15"`
9186
9187 - `"mcp-client-2026-09-15"`
9188
9189 - `"ce-plugins-2026-09-01"`
9190
9191 - `"spend-limit-reads-2026-09-26"`
9192
9193 - `"telemetry-destinations-2026-08-11"`
9194
9195 - `"webhooks-2026-10-07"`
9196
9197 - `"admin-user-sign-out-2026-10-08"`
9198
9199 - `"message-threads-2026-08-12"`
9200
9201 - `"analytics-usage-cost-2026-08-24"`
9202
9203 - `"experimental-claude-tag-2026-10-21"`
9204
9205 - `"ce-claude-code-managed-settings-2026-10-06"`
9206
9207 - `"efs-2026-10-01"`
9208
9209 - `"user-profiles-billing-2026-10-01"`
9210
9211 - `"message-batches-2024-09-24"`
9212
9213 **Deprecated**: This value is no longer needed. Remove it from your requests.
9214
9215 - `"prompt-caching-2024-07-31"`
9216
9217 **Deprecated**: This value is no longer needed. Remove it from your requests.
9218
9219 - `"pdfs-2024-09-25"`
9220
9221 **Deprecated**: This value is no longer needed. Remove it from your requests.
9222
9223 - `"token-counting-2024-11-01"`
9224
9225 **Deprecated**: This value is no longer needed. Remove it from your requests.
9226
9227 - `"token-efficient-tools-2025-02-19"`
9228
9229 **Deprecated**: This value is no longer needed. Remove it from your requests.
9230
9231 - `"files-api-2025-04-14"`
9232
9233 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
9234
9235 - `"extended-cache-ttl-2025-04-11"`
9236
9237 **Deprecated**: This value is no longer needed. Remove it from your requests.
9238
9239 - `"skills-2025-10-02"`
9240
9241 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
9242
9243 - `"cache-diagnosis-2026-04-07"`
9244
9245 **Deprecated**: This value is no longer needed. Remove it from your requests.
9246
9247 - `"ce-user-management-2026-07-13"`
9248
9249 **Deprecated**: This value is no longer needed. Remove it from your requests.
9250
9251#### Body parameters
9252
9253- `provider_config: BetaAWSExternalStorageConfigParam or BetaGCPExternalStorageConfigParam`
9254
9255 - `BetaAWSExternalStorageConfigParam object`
9256
9257 An Amazon S3 bucket.
9258
9259 - `type: "aws"`
9260
9261 - `account_id: string`
9262
9263 12-digit ID of the AWS account that owns the bucket.
9264
9265 - `bucket_name: string`
9266
9267 The bucket's name, without `s3://`: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit.
9268
9269 - `region: string`
9270
9271 The bucket's AWS region. Activating the storage fails if Anthropic can't use buckets in that region.
9272
9273 - `BetaGCPExternalStorageConfigParam object`
9274
9275 A Google Cloud Storage bucket.
9276
9277 - `type: "gcp"`
9278
9279 - `bucket_name: string`
9280
9281 The bucket's name, without `gs://`: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit. It can't start with `goog` or contain `google`.
9282
9283 - `project_number: string`
9284
9285 Project number, not project ID, of the Google Cloud project that holds the bucket.
9286
9287 - `region: string`
9288
9289 The bucket's Google Cloud region, such as `us-east5`: one of the single regions that the setup guide lists. Dual-regions and multi-regions aren't supported.
9290
9291- `display_name: optional string or null`
9292
9293 Human-friendly display name.
9294
9295 minLength: 1, maxLength: 255
9296
9297- `user_profile_id: optional string or null`
9298
9299 The user profile to bind the storage to. It can't be changed later. The storage can be attached only to Workspaces with this profile, and the bucket's setup must name the same ID.
9300
9301#### Returns
9302
9303- `BetaExternalStorage object`
9304
9305 A storage bucket in the organization's own cloud account. Anthropic writes
9306 inference data to it from each Workspace it is attached to.
9307
9308 - `type: "external_storage"`
9309
9310 default: external_storage
9311
9312 - `id: string`
9313
9314 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.
9315
9316 - `created_at: string`
9317
9318 format: date-time
9319
9320 - `display_name: string or null`
9321
9322 Human-friendly display name. Null if none was set.
9323
9324 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
9325
9326 - `BetaAWSExternalStorageConfig object`
9327
9328 An Amazon S3 bucket.
9329
9330 - `type: "aws"`
9331
9332 default: aws
9333
9334 - `account_id: string`
9335
9336 12-digit ID of the AWS account that owns the bucket.
9337
9338 - `bucket_name: string`
9339
9340 The bucket's name, without `s3://`.
9341
9342 - `region: string`
9343
9344 The bucket's AWS region.
9345
9346 - `BetaGCPExternalStorageConfig object`
9347
9348 A Google Cloud Storage bucket.
9349
9350 - `type: "gcp"`
9351
9352 default: gcp
9353
9354 - `bucket_name: string`
9355
9356 The bucket's name, without `gs://`.
9357
9358 - `project_number: string`
9359
9360 Number of the Google Cloud project that holds the bucket.
9361
9362 - `region: string`
9363
9364 The bucket's Google Cloud region.
9365
9366 - `setup_template_version: string or null`
9367
9368 The version of Anthropic's setup template whose IAM role names this storage was found to use at activation. Null if no version was recorded, as for storage not yet activated or not on S3.
9369
9370 - `status: BetaPendingConfigurationExternalStorageStatus or BetaAvailableExternalStorageStatus or BetaActiveExternalStorageStatus or BetaDrainingExternalStorageStatus`
9371
9372 - `BetaPendingConfigurationExternalStorageStatus object`
9373
9374 The storage isn't verified yet.
9375
9376 - `type: "pending_configuration"`
9377
9378 default: pending_configuration
9379
9380 - `BetaAvailableExternalStorageStatus object`
9381
9382 The storage is verified, no Workspace has it attached, and Anthropic doesn't use
9383 the bucket.
9384
9385 - `type: "available"`
9386
9387 default: available
9388
9389 - `healthy: boolean`
9390
9391 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9392
9393 - `last_checked_at: string`
9394
9395 When the bucket's latest recorded check ran, in RFC 3339.
9396
9397 format: date-time
9398
9399 - `BetaActiveExternalStorageStatus object`
9400
9401 At least one Workspace has the storage attached.
9402
9403 - `type: "active"`
9404
9405 default: active
9406
9407 - `healthy: boolean`
9408
9409 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9410
9411 - `last_checked_at: string`
9412
9413 When the bucket's latest recorded check ran, in RFC 3339.
9414
9415 format: date-time
9416
9417 - `BetaDrainingExternalStorageStatus object`
9418
9419 No Workspace has the storage attached. A Workspace can attach it again, unless
9420 `removal_started` is true.
9421
9422 - `type: "draining"`
9423
9424 default: draining
9425
9426 - `healthy: boolean`
9427
9428 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9429
9430 - `last_checked_at: string`
9431
9432 When the bucket's latest recorded check ran, in RFC 3339.
9433
9434 format: date-time
9435
9436 - `removal_started: boolean`
9437
9438 True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
9439
9440 default: false
9441
9442 - `updated_at: string`
9443
9444 format: date-time
9445
9446 - `user_profile_id: string or null`
9447
9448 The user profile the storage is bound to, or null.
9449
9450#### Errors
9451
9452Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
9453
9454Each code below is the value of `error.details.error_code` in the response body.
9455
9456- `grant_required` (HTTP status 400)
9457
9458 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.
9459
9460- `organization_not_eligible` (HTTP status 400)
9461
9462 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.
9463
9464- `provider_not_allowed` (HTTP status 400)
9465
9466 The request can't use External Storage on this cloud provider. The error's message says why.
9467
9468- `unsupported_region` (HTTP status 400)
9469
9470 `provider_config.region` is not a region where External Storage is available.
9471
9472- `user_profile_not_found` (HTTP status 400)
9473
9474 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.
9475
9476- `sandbox_egress_restricted` (HTTP status 403)
9477
9478 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
9479
9480- `storage_already_registered` (HTTP status 409)
9481
9482 The organization already has External Storage for this bucket that it has not deleted. List the organization's External Storage to find it.
9483
9484- `authorization_check_unavailable` (HTTP status 503)
9485
9486 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
9487
9488#### Example
9489
9490```bash
9491curl https://api.anthropic.com/v1/organizations/external_storage \
9492 -H 'Content-Type: application/json' \
9493 -H 'anthropic-version: 2026-10-21' \
9494 -H 'anthropic-beta: efs-2026-10-01' \
9495 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
9496 -d '{
9497 "provider_config": {
9498 "account_id": "111122223333",
9499 "bucket_name": "acme-safety-retention",
9500 "region": "us-east-2",
9501 "type": "aws"
9502 },
9503 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
9504 }'
9505```
9506
9507##### Response (200)
9508
9509```json
9510{
9511 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
9512 "created_at": "2024-10-30T23:58:27.427722Z",
9513 "display_name": "display_name",
9514 "provider_config": {
9515 "account_id": "111122223333",
9516 "bucket_name": "acme-safety-retention",
9517 "region": "us-east-2",
9518 "type": "aws"
9519 },
9520 "setup_template_version": "2",
9521 "status": {
9522 "type": "pending_configuration"
9523 },
9524 "type": "external_storage",
9525 "updated_at": "2024-10-30T23:58:27.427722Z",
9526 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
9527}
9528```
9529
9530### List External Storage
9531
9532**GET** `/v1/organizations/external_storage`
9533
9534List the organization's External Storage, newest first.
9535
9536#### Query parameters
9537
9538- `limit: optional number`
9539
9540 Number of results per page.
9541
9542 default: 20, minimum: 1, maximum: 1000
9543
9544- `page: optional string`
9545
9546 Opaque cursor from a previous response's `next_page`.
9547
9548- `user_profile_ids: optional array of string`
9549
9550 Returns only External Storage bound to one of these user profile IDs (`uprof_...`). An empty entry matches storage bound to no user profile. At most 10 entries, counting repeats.
9551
9552 maxItems: 10
9553
9554#### Headers
9555
9556- `"anthropic-version": optional string`
9557
9558 The version of the Claude API you want to use.
9559
9560 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
9561
9562- `"anthropic-beta": array of AnthropicBeta`
9563
9564 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
9565
9566 - `string`
9567
9568 - `"computer-use-2024-10-22"`
9569
9570 - `"computer-use-2025-01-24"`
9571
9572 - `"output-128k-2025-02-19"`
9573
9574 - `"mcp-client-2025-04-04"`
9575
9576 - `"mcp-client-2025-11-20"`
9577
9578 - `"dev-full-thinking-2025-05-14"`
9579
9580 - `"interleaved-thinking-2025-05-14"`
9581
9582 - `"code-execution-2025-05-22"`
9583
9584 - `"context-1m-2025-08-07"`
9585
9586 - `"context-management-2025-06-27"`
9587
9588 - `"model-context-window-exceeded-2025-08-26"`
9589
9590 - `"fast-mode-2026-02-01"`
9591
9592 - `"output-300k-2026-03-24"`
9593
9594 - `"user-profiles-2026-03-24"`
9595
9596 - `"user-profiles-2026-08-18"`
9597
9598 - `"user-profiles-2026-09-04"`
9599
9600 - `"advisor-tool-2026-03-01"`
9601
9602 - `"managed-agents-2026-04-01"`
9603
9604 - `"dreaming-2026-04-21"`
9605
9606 - `"thinking-token-count-2026-05-13"`
9607
9608 - `"server-side-fallback-2026-06-01"`
9609
9610 - `"server-side-fallback-2026-07-01"`
9611
9612 - `"fallback-credit-2026-06-01"`
9613
9614 - `"fallback-credit-2026-07-01"`
9615
9616 - `"agent-memory-2026-07-22"`
9617
9618 - `"mid-conversation-tool-changes-2026-07-01"`
9619
9620 - `"compact-2026-01-12"`
9621
9622 - `"computer-use-2025-11-24"`
9623
9624 - `"mcp-tunnels-2026-06-22"`
9625
9626 - `"structured-outputs-2025-11-13"`
9627
9628 - `"task-budgets-2026-03-13"`
9629
9630 - `"thinking-display-updates-2026-08-18"`
9631
9632 - `"mid-conversation-output-config-2026-07-01"`
9633
9634 - `"thinking-binding-controls-2026-08-01"`
9635
9636 - `"mid-conversation-system-clear-at-2026-08-21"`
9637
9638 - `"compact-2026-09-04"`
9639
9640 - `"inline-tools-2026-09-15"`
9641
9642 - `"mcp-client-2026-09-15"`
9643
9644 - `"ce-plugins-2026-09-01"`
9645
9646 - `"spend-limit-reads-2026-09-26"`
9647
9648 - `"telemetry-destinations-2026-08-11"`
9649
9650 - `"webhooks-2026-10-07"`
9651
9652 - `"admin-user-sign-out-2026-10-08"`
9653
9654 - `"message-threads-2026-08-12"`
9655
9656 - `"analytics-usage-cost-2026-08-24"`
9657
9658 - `"experimental-claude-tag-2026-10-21"`
9659
9660 - `"ce-claude-code-managed-settings-2026-10-06"`
9661
9662 - `"efs-2026-10-01"`
9663
9664 - `"user-profiles-billing-2026-10-01"`
9665
9666 - `"message-batches-2024-09-24"`
9667
9668 **Deprecated**: This value is no longer needed. Remove it from your requests.
9669
9670 - `"prompt-caching-2024-07-31"`
9671
9672 **Deprecated**: This value is no longer needed. Remove it from your requests.
9673
9674 - `"pdfs-2024-09-25"`
9675
9676 **Deprecated**: This value is no longer needed. Remove it from your requests.
9677
9678 - `"token-counting-2024-11-01"`
9679
9680 **Deprecated**: This value is no longer needed. Remove it from your requests.
9681
9682 - `"token-efficient-tools-2025-02-19"`
9683
9684 **Deprecated**: This value is no longer needed. Remove it from your requests.
9685
9686 - `"files-api-2025-04-14"`
9687
9688 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
9689
9690 - `"extended-cache-ttl-2025-04-11"`
9691
9692 **Deprecated**: This value is no longer needed. Remove it from your requests.
9693
9694 - `"skills-2025-10-02"`
9695
9696 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
9697
9698 - `"cache-diagnosis-2026-04-07"`
9699
9700 **Deprecated**: This value is no longer needed. Remove it from your requests.
9701
9702 - `"ce-user-management-2026-07-13"`
9703
9704 **Deprecated**: This value is no longer needed. Remove it from your requests.
9705
9706#### Returns
9707
9708- `data: array of BetaExternalStorage`
9709
9710 - `type: "external_storage"`
9711
9712 default: external_storage
9713
9714 - `id: string`
9715
9716 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.
9717
9718 - `created_at: string`
9719
9720 format: date-time
9721
9722 - `display_name: string or null`
9723
9724 Human-friendly display name. Null if none was set.
9725
9726 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
9727
9728 - `BetaAWSExternalStorageConfig object`
9729
9730 An Amazon S3 bucket.
9731
9732 - `type: "aws"`
9733
9734 default: aws
9735
9736 - `account_id: string`
9737
9738 12-digit ID of the AWS account that owns the bucket.
9739
9740 - `bucket_name: string`
9741
9742 The bucket's name, without `s3://`.
9743
9744 - `region: string`
9745
9746 The bucket's AWS region.
9747
9748 - `BetaGCPExternalStorageConfig object`
9749
9750 A Google Cloud Storage bucket.
9751
9752 - `type: "gcp"`
9753
9754 default: gcp
9755
9756 - `bucket_name: string`
9757
9758 The bucket's name, without `gs://`.
9759
9760 - `project_number: string`
9761
9762 Number of the Google Cloud project that holds the bucket.
9763
9764 - `region: string`
9765
9766 The bucket's Google Cloud region.
9767
9768 - `setup_template_version: string or null`
9769
9770 The version of Anthropic's setup template whose IAM role names this storage was found to use at activation. Null if no version was recorded, as for storage not yet activated or not on S3.
9771
9772 - `status: BetaPendingConfigurationExternalStorageStatus or BetaAvailableExternalStorageStatus or BetaActiveExternalStorageStatus or BetaDrainingExternalStorageStatus`
9773
9774 - `BetaPendingConfigurationExternalStorageStatus object`
9775
9776 The storage isn't verified yet.
9777
9778 - `type: "pending_configuration"`
9779
9780 default: pending_configuration
9781
9782 - `BetaAvailableExternalStorageStatus object`
9783
9784 The storage is verified, no Workspace has it attached, and Anthropic doesn't use
9785 the bucket.
9786
9787 - `type: "available"`
9788
9789 default: available
9790
9791 - `healthy: boolean`
9792
9793 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9794
9795 - `last_checked_at: string`
9796
9797 When the bucket's latest recorded check ran, in RFC 3339.
9798
9799 format: date-time
9800
9801 - `BetaActiveExternalStorageStatus object`
9802
9803 At least one Workspace has the storage attached.
9804
9805 - `type: "active"`
9806
9807 default: active
9808
9809 - `healthy: boolean`
9810
9811 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9812
9813 - `last_checked_at: string`
9814
9815 When the bucket's latest recorded check ran, in RFC 3339.
9816
9817 format: date-time
9818
9819 - `BetaDrainingExternalStorageStatus object`
9820
9821 No Workspace has the storage attached. A Workspace can attach it again, unless
9822 `removal_started` is true.
9823
9824 - `type: "draining"`
9825
9826 default: draining
9827
9828 - `healthy: boolean`
9829
9830 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
9831
9832 - `last_checked_at: string`
9833
9834 When the bucket's latest recorded check ran, in RFC 3339.
9835
9836 format: date-time
9837
9838 - `removal_started: boolean`
9839
9840 True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
9841
9842 default: false
9843
9844 - `updated_at: string`
9845
9846 format: date-time
9847
9848 - `user_profile_id: string or null`
9849
9850 The user profile the storage is bound to, or null.
9851
9852- `next_page: string or null`
9853
9854 Opaque cursor for the next page, or null if no more results. Pass as `?page=` to fetch the next page.
9855
9856#### Example
9857
9858```bash
9859curl https://api.anthropic.com/v1/organizations/external_storage \
9860 -H 'anthropic-version: 2026-10-21' \
9861 -H 'anthropic-beta: efs-2026-10-01' \
9862 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
9863```
9864
9865##### Response (200)
9866
9867```json
9868{
9869 "data": [
9870 {
9871 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
9872 "created_at": "2024-10-30T23:58:27.427722Z",
9873 "display_name": "display_name",
9874 "provider_config": {
9875 "account_id": "111122223333",
9876 "bucket_name": "acme-safety-retention",
9877 "region": "us-east-2",
9878 "type": "aws"
9879 },
9880 "setup_template_version": "2",
9881 "status": {
9882 "type": "pending_configuration"
9883 },
9884 "type": "external_storage",
9885 "updated_at": "2024-10-30T23:58:27.427722Z",
9886 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
9887 }
9888 ],
9889 "next_page": "next_page"
9890}
9891```
9892
9893### Get External Storage
9894
9895**GET** `/v1/organizations/external_storage/{external_storage_id}`
9896
9897Get one External Storage in the organization.
9898
9899#### Path parameters
9900
9901- `external_storage_id: string`
9902
9903 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.
9904
9905#### Headers
9906
9907- `"anthropic-version": optional string`
9908
9909 The version of the Claude API you want to use.
9910
9911 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
9912
9913- `"anthropic-beta": array of AnthropicBeta`
9914
9915 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
9916
9917 - `string`
9918
9919 - `"computer-use-2024-10-22"`
9920
9921 - `"computer-use-2025-01-24"`
9922
9923 - `"output-128k-2025-02-19"`
9924
9925 - `"mcp-client-2025-04-04"`
9926
9927 - `"mcp-client-2025-11-20"`
9928
9929 - `"dev-full-thinking-2025-05-14"`
9930
9931 - `"interleaved-thinking-2025-05-14"`
9932
9933 - `"code-execution-2025-05-22"`
9934
9935 - `"context-1m-2025-08-07"`
9936
9937 - `"context-management-2025-06-27"`
9938
9939 - `"model-context-window-exceeded-2025-08-26"`
9940
9941 - `"fast-mode-2026-02-01"`
9942
9943 - `"output-300k-2026-03-24"`
9944
9945 - `"user-profiles-2026-03-24"`
9946
9947 - `"user-profiles-2026-08-18"`
9948
9949 - `"user-profiles-2026-09-04"`
9950
9951 - `"advisor-tool-2026-03-01"`
9952
9953 - `"managed-agents-2026-04-01"`
9954
9955 - `"dreaming-2026-04-21"`
9956
9957 - `"thinking-token-count-2026-05-13"`
9958
9959 - `"server-side-fallback-2026-06-01"`
9960
9961 - `"server-side-fallback-2026-07-01"`
9962
9963 - `"fallback-credit-2026-06-01"`
9964
9965 - `"fallback-credit-2026-07-01"`
9966
9967 - `"agent-memory-2026-07-22"`
9968
9969 - `"mid-conversation-tool-changes-2026-07-01"`
9970
9971 - `"compact-2026-01-12"`
9972
9973 - `"computer-use-2025-11-24"`
9974
9975 - `"mcp-tunnels-2026-06-22"`
9976
9977 - `"structured-outputs-2025-11-13"`
9978
9979 - `"task-budgets-2026-03-13"`
9980
9981 - `"thinking-display-updates-2026-08-18"`
9982
9983 - `"mid-conversation-output-config-2026-07-01"`
9984
9985 - `"thinking-binding-controls-2026-08-01"`
9986
9987 - `"mid-conversation-system-clear-at-2026-08-21"`
9988
9989 - `"compact-2026-09-04"`
9990
9991 - `"inline-tools-2026-09-15"`
9992
9993 - `"mcp-client-2026-09-15"`
9994
9995 - `"ce-plugins-2026-09-01"`
9996
9997 - `"spend-limit-reads-2026-09-26"`
9998
9999 - `"telemetry-destinations-2026-08-11"`
10000
10001 - `"webhooks-2026-10-07"`
10002
10003 - `"admin-user-sign-out-2026-10-08"`
10004
10005 - `"message-threads-2026-08-12"`
10006
10007 - `"analytics-usage-cost-2026-08-24"`
10008
10009 - `"experimental-claude-tag-2026-10-21"`
10010
10011 - `"ce-claude-code-managed-settings-2026-10-06"`
10012
10013 - `"efs-2026-10-01"`
10014
10015 - `"user-profiles-billing-2026-10-01"`
10016
10017 - `"message-batches-2024-09-24"`
10018
10019 **Deprecated**: This value is no longer needed. Remove it from your requests.
10020
10021 - `"prompt-caching-2024-07-31"`
10022
10023 **Deprecated**: This value is no longer needed. Remove it from your requests.
10024
10025 - `"pdfs-2024-09-25"`
10026
10027 **Deprecated**: This value is no longer needed. Remove it from your requests.
10028
10029 - `"token-counting-2024-11-01"`
10030
10031 **Deprecated**: This value is no longer needed. Remove it from your requests.
10032
10033 - `"token-efficient-tools-2025-02-19"`
10034
10035 **Deprecated**: This value is no longer needed. Remove it from your requests.
10036
10037 - `"files-api-2025-04-14"`
10038
10039 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
10040
10041 - `"extended-cache-ttl-2025-04-11"`
10042
10043 **Deprecated**: This value is no longer needed. Remove it from your requests.
10044
10045 - `"skills-2025-10-02"`
10046
10047 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
10048
10049 - `"cache-diagnosis-2026-04-07"`
10050
10051 **Deprecated**: This value is no longer needed. Remove it from your requests.
10052
10053 - `"ce-user-management-2026-07-13"`
10054
10055 **Deprecated**: This value is no longer needed. Remove it from your requests.
10056
10057#### Returns
10058
10059- `BetaExternalStorage object`
10060
10061 A storage bucket in the organization's own cloud account. Anthropic writes
10062 inference data to it from each Workspace it is attached to.
10063
10064 - `type: "external_storage"`
10065
10066 default: external_storage
10067
10068 - `id: string`
10069
10070 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.
10071
10072 - `created_at: string`
10073
10074 format: date-time
10075
10076 - `display_name: string or null`
10077
10078 Human-friendly display name. Null if none was set.
10079
10080 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
10081
10082 - `BetaAWSExternalStorageConfig object`
10083
10084 An Amazon S3 bucket.
10085
10086 - `type: "aws"`
10087
10088 default: aws
10089
10090 - `account_id: string`
10091
10092 12-digit ID of the AWS account that owns the bucket.
10093
10094 - `bucket_name: string`
10095
10096 The bucket's name, without `s3://`.
10097
10098 - `region: string`
10099
10100 The bucket's AWS region.
10101
10102 - `BetaGCPExternalStorageConfig object`
10103
10104 A Google Cloud Storage bucket.
10105
10106 - `type: "gcp"`
10107
10108 default: gcp
10109
10110 - `bucket_name: string`
10111
10112 The bucket's name, without `gs://`.
10113
10114 - `project_number: string`
10115
10116 Number of the Google Cloud project that holds the bucket.
10117
10118 - `region: string`
10119
10120 The bucket's Google Cloud region.
10121
10122 - `setup_template_version: string or null`
10123
10124 The version of Anthropic's setup template whose IAM role names this storage was found to use at activation. Null if no version was recorded, as for storage not yet activated or not on S3.
10125
10126 - `status: BetaPendingConfigurationExternalStorageStatus or BetaAvailableExternalStorageStatus or BetaActiveExternalStorageStatus or BetaDrainingExternalStorageStatus`
10127
10128 - `BetaPendingConfigurationExternalStorageStatus object`
10129
10130 The storage isn't verified yet.
10131
10132 - `type: "pending_configuration"`
10133
10134 default: pending_configuration
10135
10136 - `BetaAvailableExternalStorageStatus object`
10137
10138 The storage is verified, no Workspace has it attached, and Anthropic doesn't use
10139 the bucket.
10140
10141 - `type: "available"`
10142
10143 default: available
10144
10145 - `healthy: boolean`
10146
10147 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10148
10149 - `last_checked_at: string`
10150
10151 When the bucket's latest recorded check ran, in RFC 3339.
10152
10153 format: date-time
10154
10155 - `BetaActiveExternalStorageStatus object`
10156
10157 At least one Workspace has the storage attached.
10158
10159 - `type: "active"`
10160
10161 default: active
10162
10163 - `healthy: boolean`
10164
10165 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10166
10167 - `last_checked_at: string`
10168
10169 When the bucket's latest recorded check ran, in RFC 3339.
10170
10171 format: date-time
10172
10173 - `BetaDrainingExternalStorageStatus object`
10174
10175 No Workspace has the storage attached. A Workspace can attach it again, unless
10176 `removal_started` is true.
10177
10178 - `type: "draining"`
10179
10180 default: draining
10181
10182 - `healthy: boolean`
10183
10184 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10185
10186 - `last_checked_at: string`
10187
10188 When the bucket's latest recorded check ran, in RFC 3339.
10189
10190 format: date-time
10191
10192 - `removal_started: boolean`
10193
10194 True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
10195
10196 default: false
10197
10198 - `updated_at: string`
10199
10200 format: date-time
10201
10202 - `user_profile_id: string or null`
10203
10204 The user profile the storage is bound to, or null.
10205
10206#### Errors
10207
10208Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
10209
10210Each code below is the value of `error.details.error_code` in the response body.
10211
10212- `invalid_storage_arn` (HTTP status 400)
10213
10214 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`.
10215
10216#### Example
10217
10218```bash
10219curl https://api.anthropic.com/v1/organizations/external_storage/$EXTERNAL_STORAGE_ID \
10220 -H 'anthropic-version: 2026-10-21' \
10221 -H 'anthropic-beta: efs-2026-10-01' \
10222 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10223```
10224
10225##### Response (200)
10226
10227```json
10228{
10229 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
10230 "created_at": "2024-10-30T23:58:27.427722Z",
10231 "display_name": "display_name",
10232 "provider_config": {
10233 "account_id": "111122223333",
10234 "bucket_name": "acme-safety-retention",
10235 "region": "us-east-2",
10236 "type": "aws"
10237 },
10238 "setup_template_version": "2",
10239 "status": {
10240 "type": "pending_configuration"
10241 },
10242 "type": "external_storage",
10243 "updated_at": "2024-10-30T23:58:27.427722Z",
10244 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
10245}
10246```
10247
10248### Update External Storage
10249
10250**POST** `/v1/organizations/external_storage/{external_storage_id}`
10251
10252Rename External Storage or clear its name, in any status.
10253
10254#### Path parameters
10255
10256- `external_storage_id: string`
10257
10258 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.
10259
10260#### Headers
10261
10262- `"anthropic-version": optional string`
10263
10264 The version of the Claude API you want to use.
10265
10266 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
10267
10268- `"anthropic-beta": array of AnthropicBeta`
10269
10270 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
10271
10272 - `string`
10273
10274 - `"computer-use-2024-10-22"`
10275
10276 - `"computer-use-2025-01-24"`
10277
10278 - `"output-128k-2025-02-19"`
10279
10280 - `"mcp-client-2025-04-04"`
10281
10282 - `"mcp-client-2025-11-20"`
10283
10284 - `"dev-full-thinking-2025-05-14"`
10285
10286 - `"interleaved-thinking-2025-05-14"`
10287
10288 - `"code-execution-2025-05-22"`
10289
10290 - `"context-1m-2025-08-07"`
10291
10292 - `"context-management-2025-06-27"`
10293
10294 - `"model-context-window-exceeded-2025-08-26"`
10295
10296 - `"fast-mode-2026-02-01"`
10297
10298 - `"output-300k-2026-03-24"`
10299
10300 - `"user-profiles-2026-03-24"`
10301
10302 - `"user-profiles-2026-08-18"`
10303
10304 - `"user-profiles-2026-09-04"`
10305
10306 - `"advisor-tool-2026-03-01"`
10307
10308 - `"managed-agents-2026-04-01"`
10309
10310 - `"dreaming-2026-04-21"`
10311
10312 - `"thinking-token-count-2026-05-13"`
10313
10314 - `"server-side-fallback-2026-06-01"`
10315
10316 - `"server-side-fallback-2026-07-01"`
10317
10318 - `"fallback-credit-2026-06-01"`
10319
10320 - `"fallback-credit-2026-07-01"`
10321
10322 - `"agent-memory-2026-07-22"`
10323
10324 - `"mid-conversation-tool-changes-2026-07-01"`
10325
10326 - `"compact-2026-01-12"`
10327
10328 - `"computer-use-2025-11-24"`
10329
10330 - `"mcp-tunnels-2026-06-22"`
10331
10332 - `"structured-outputs-2025-11-13"`
10333
10334 - `"task-budgets-2026-03-13"`
10335
10336 - `"thinking-display-updates-2026-08-18"`
10337
10338 - `"mid-conversation-output-config-2026-07-01"`
10339
10340 - `"thinking-binding-controls-2026-08-01"`
10341
10342 - `"mid-conversation-system-clear-at-2026-08-21"`
10343
10344 - `"compact-2026-09-04"`
10345
10346 - `"inline-tools-2026-09-15"`
10347
10348 - `"mcp-client-2026-09-15"`
10349
10350 - `"ce-plugins-2026-09-01"`
10351
10352 - `"spend-limit-reads-2026-09-26"`
10353
10354 - `"telemetry-destinations-2026-08-11"`
10355
10356 - `"webhooks-2026-10-07"`
10357
10358 - `"admin-user-sign-out-2026-10-08"`
10359
10360 - `"message-threads-2026-08-12"`
10361
10362 - `"analytics-usage-cost-2026-08-24"`
10363
10364 - `"experimental-claude-tag-2026-10-21"`
10365
10366 - `"ce-claude-code-managed-settings-2026-10-06"`
10367
10368 - `"efs-2026-10-01"`
10369
10370 - `"user-profiles-billing-2026-10-01"`
10371
10372 - `"message-batches-2024-09-24"`
10373
10374 **Deprecated**: This value is no longer needed. Remove it from your requests.
10375
10376 - `"prompt-caching-2024-07-31"`
10377
10378 **Deprecated**: This value is no longer needed. Remove it from your requests.
10379
10380 - `"pdfs-2024-09-25"`
10381
10382 **Deprecated**: This value is no longer needed. Remove it from your requests.
10383
10384 - `"token-counting-2024-11-01"`
10385
10386 **Deprecated**: This value is no longer needed. Remove it from your requests.
10387
10388 - `"token-efficient-tools-2025-02-19"`
10389
10390 **Deprecated**: This value is no longer needed. Remove it from your requests.
10391
10392 - `"files-api-2025-04-14"`
10393
10394 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
10395
10396 - `"extended-cache-ttl-2025-04-11"`
10397
10398 **Deprecated**: This value is no longer needed. Remove it from your requests.
10399
10400 - `"skills-2025-10-02"`
10401
10402 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
10403
10404 - `"cache-diagnosis-2026-04-07"`
10405
10406 **Deprecated**: This value is no longer needed. Remove it from your requests.
10407
10408 - `"ce-user-management-2026-07-13"`
10409
10410 **Deprecated**: This value is no longer needed. Remove it from your requests.
10411
10412#### Body parameters
10413
10414- `display_name: string or null`
10415
10416 Human-friendly display name; null clears it.
10417
10418 minLength: 1, maxLength: 255
10419
10420#### Returns
10421
10422- `BetaExternalStorage object`
10423
10424 A storage bucket in the organization's own cloud account. Anthropic writes
10425 inference data to it from each Workspace it is attached to.
10426
10427 - `type: "external_storage"`
10428
10429 default: external_storage
10430
10431 - `id: string`
10432
10433 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.
10434
10435 - `created_at: string`
10436
10437 format: date-time
10438
10439 - `display_name: string or null`
10440
10441 Human-friendly display name. Null if none was set.
10442
10443 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
10444
10445 - `BetaAWSExternalStorageConfig object`
10446
10447 An Amazon S3 bucket.
10448
10449 - `type: "aws"`
10450
10451 default: aws
10452
10453 - `account_id: string`
10454
10455 12-digit ID of the AWS account that owns the bucket.
10456
10457 - `bucket_name: string`
10458
10459 The bucket's name, without `s3://`.
10460
10461 - `region: string`
10462
10463 The bucket's AWS region.
10464
10465 - `BetaGCPExternalStorageConfig object`
10466
10467 A Google Cloud Storage bucket.
10468
10469 - `type: "gcp"`
10470
10471 default: gcp
10472
10473 - `bucket_name: string`
10474
10475 The bucket's name, without `gs://`.
10476
10477 - `project_number: string`
10478
10479 Number of the Google Cloud project that holds the bucket.
10480
10481 - `region: string`
10482
10483 The bucket's Google Cloud region.
10484
10485 - `setup_template_version: string or null`
10486
10487 The version of Anthropic's setup template whose IAM role names this storage was found to use at activation. Null if no version was recorded, as for storage not yet activated or not on S3.
10488
10489 - `status: BetaPendingConfigurationExternalStorageStatus or BetaAvailableExternalStorageStatus or BetaActiveExternalStorageStatus or BetaDrainingExternalStorageStatus`
10490
10491 - `BetaPendingConfigurationExternalStorageStatus object`
10492
10493 The storage isn't verified yet.
10494
10495 - `type: "pending_configuration"`
10496
10497 default: pending_configuration
10498
10499 - `BetaAvailableExternalStorageStatus object`
10500
10501 The storage is verified, no Workspace has it attached, and Anthropic doesn't use
10502 the bucket.
10503
10504 - `type: "available"`
10505
10506 default: available
10507
10508 - `healthy: boolean`
10509
10510 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10511
10512 - `last_checked_at: string`
10513
10514 When the bucket's latest recorded check ran, in RFC 3339.
10515
10516 format: date-time
10517
10518 - `BetaActiveExternalStorageStatus object`
10519
10520 At least one Workspace has the storage attached.
10521
10522 - `type: "active"`
10523
10524 default: active
10525
10526 - `healthy: boolean`
10527
10528 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10529
10530 - `last_checked_at: string`
10531
10532 When the bucket's latest recorded check ran, in RFC 3339.
10533
10534 format: date-time
10535
10536 - `BetaDrainingExternalStorageStatus object`
10537
10538 No Workspace has the storage attached. A Workspace can attach it again, unless
10539 `removal_started` is true.
10540
10541 - `type: "draining"`
10542
10543 default: draining
10544
10545 - `healthy: boolean`
10546
10547 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
10548
10549 - `last_checked_at: string`
10550
10551 When the bucket's latest recorded check ran, in RFC 3339.
10552
10553 format: date-time
10554
10555 - `removal_started: boolean`
10556
10557 True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
10558
10559 default: false
10560
10561 - `updated_at: string`
10562
10563 format: date-time
10564
10565 - `user_profile_id: string or null`
10566
10567 The user profile the storage is bound to, or null.
10568
10569#### Errors
10570
10571Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
10572
10573Each code below is the value of `error.details.error_code` in the response body.
10574
10575- `invalid_storage_arn` (HTTP status 400)
10576
10577 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`.
10578
10579- `sandbox_egress_restricted` (HTTP status 403)
10580
10581 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
10582
10583#### Example
10584
10585```bash
10586curl https://api.anthropic.com/v1/organizations/external_storage/$EXTERNAL_STORAGE_ID \
10587 -H 'Content-Type: application/json' \
10588 -H 'anthropic-version: 2026-10-21' \
10589 -H 'anthropic-beta: efs-2026-10-01' \
10590 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
10591 -d '{
10592 "display_name": "x"
10593 }'
10594```
10595
10596##### Response (200)
10597
10598```json
10599{
10600 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
10601 "created_at": "2024-10-30T23:58:27.427722Z",
10602 "display_name": "display_name",
10603 "provider_config": {
10604 "account_id": "111122223333",
10605 "bucket_name": "acme-safety-retention",
10606 "region": "us-east-2",
10607 "type": "aws"
10608 },
10609 "setup_template_version": "2",
10610 "status": {
10611 "type": "pending_configuration"
10612 },
10613 "type": "external_storage",
10614 "updated_at": "2024-10-30T23:58:27.427722Z",
10615 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
10616}
10617```
10618
10619### Delete External Storage
10620
10621**DELETE** `/v1/organizations/external_storage/{external_storage_id}`
10622
10623Delete External Storage. Storage that is pending configuration, available, or active
10624but never attached is deleted at once, unless an Enterprise Frontier Safeguards workspace
10625policy lists it. Other storage gets a 400 that says what to do next. On `draining`
10626storage that 400 can mean this delete started a removal that can't be undone. To check,
10627get the storage: if `status.removal_started` is true, delete it again later to finish.
10628
10629#### Path parameters
10630
10631- `external_storage_id: string`
10632
10633 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.
10634
10635#### Headers
10636
10637- `"anthropic-version": optional string`
10638
10639 The version of the Claude API you want to use.
10640
10641 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
10642
10643- `"anthropic-beta": array of AnthropicBeta`
10644
10645 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
10646
10647 - `string`
10648
10649 - `"computer-use-2024-10-22"`
10650
10651 - `"computer-use-2025-01-24"`
10652
10653 - `"output-128k-2025-02-19"`
10654
10655 - `"mcp-client-2025-04-04"`
10656
10657 - `"mcp-client-2025-11-20"`
10658
10659 - `"dev-full-thinking-2025-05-14"`
10660
10661 - `"interleaved-thinking-2025-05-14"`
10662
10663 - `"code-execution-2025-05-22"`
10664
10665 - `"context-1m-2025-08-07"`
10666
10667 - `"context-management-2025-06-27"`
10668
10669 - `"model-context-window-exceeded-2025-08-26"`
10670
10671 - `"fast-mode-2026-02-01"`
10672
10673 - `"output-300k-2026-03-24"`
10674
10675 - `"user-profiles-2026-03-24"`
10676
10677 - `"user-profiles-2026-08-18"`
10678
10679 - `"user-profiles-2026-09-04"`
10680
10681 - `"advisor-tool-2026-03-01"`
10682
10683 - `"managed-agents-2026-04-01"`
10684
10685 - `"dreaming-2026-04-21"`
10686
10687 - `"thinking-token-count-2026-05-13"`
10688
10689 - `"server-side-fallback-2026-06-01"`
10690
10691 - `"server-side-fallback-2026-07-01"`
10692
10693 - `"fallback-credit-2026-06-01"`
10694
10695 - `"fallback-credit-2026-07-01"`
10696
10697 - `"agent-memory-2026-07-22"`
10698
10699 - `"mid-conversation-tool-changes-2026-07-01"`
10700
10701 - `"compact-2026-01-12"`
10702
10703 - `"computer-use-2025-11-24"`
10704
10705 - `"mcp-tunnels-2026-06-22"`
10706
10707 - `"structured-outputs-2025-11-13"`
10708
10709 - `"task-budgets-2026-03-13"`
10710
10711 - `"thinking-display-updates-2026-08-18"`
10712
10713 - `"mid-conversation-output-config-2026-07-01"`
10714
10715 - `"thinking-binding-controls-2026-08-01"`
10716
10717 - `"mid-conversation-system-clear-at-2026-08-21"`
10718
10719 - `"compact-2026-09-04"`
10720
10721 - `"inline-tools-2026-09-15"`
10722
10723 - `"mcp-client-2026-09-15"`
10724
10725 - `"ce-plugins-2026-09-01"`
10726
10727 - `"spend-limit-reads-2026-09-26"`
10728
10729 - `"telemetry-destinations-2026-08-11"`
10730
10731 - `"webhooks-2026-10-07"`
10732
10733 - `"admin-user-sign-out-2026-10-08"`
10734
10735 - `"message-threads-2026-08-12"`
10736
10737 - `"analytics-usage-cost-2026-08-24"`
10738
10739 - `"experimental-claude-tag-2026-10-21"`
10740
10741 - `"ce-claude-code-managed-settings-2026-10-06"`
10742
10743 - `"efs-2026-10-01"`
10744
10745 - `"user-profiles-billing-2026-10-01"`
10746
10747 - `"message-batches-2024-09-24"`
10748
10749 **Deprecated**: This value is no longer needed. Remove it from your requests.
10750
10751 - `"prompt-caching-2024-07-31"`
10752
10753 **Deprecated**: This value is no longer needed. Remove it from your requests.
10754
10755 - `"pdfs-2024-09-25"`
10756
10757 **Deprecated**: This value is no longer needed. Remove it from your requests.
10758
10759 - `"token-counting-2024-11-01"`
10760
10761 **Deprecated**: This value is no longer needed. Remove it from your requests.
10762
10763 - `"token-efficient-tools-2025-02-19"`
10764
10765 **Deprecated**: This value is no longer needed. Remove it from your requests.
10766
10767 - `"files-api-2025-04-14"`
10768
10769 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
10770
10771 - `"extended-cache-ttl-2025-04-11"`
10772
10773 **Deprecated**: This value is no longer needed. Remove it from your requests.
10774
10775 - `"skills-2025-10-02"`
10776
10777 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
10778
10779 - `"cache-diagnosis-2026-04-07"`
10780
10781 **Deprecated**: This value is no longer needed. Remove it from your requests.
10782
10783 - `"ce-user-management-2026-07-13"`
10784
10785 **Deprecated**: This value is no longer needed. Remove it from your requests.
10786
10787#### Returns
10788
10789- `BetaDeletedExternalStorage object`
10790
10791 - `type: "external_storage_deleted"`
10792
10793 default: external_storage_deleted
10794
10795 - `id: string`
10796
10797 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.
10798
10799#### Errors
10800
10801Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
10802
10803Each code below is the value of `error.details.error_code` in the response body.
10804
10805- `external_storage_in_use` (HTTP status 400)
10806
10807 The External Storage is `active` or `draining`, so this delete didn't erase it. The message says what to do next. On `draining` storage this delete may have started a removal that can't be undone: get the storage and read `status.removal_started`.
10808
10809- `external_storage_in_workspace_policy` (HTTP status 400)
10810
10811 The External Storage can't be deleted while an Enterprise Frontier Safeguards workspace policy lists it as allowed storage.
10812
10813- `invalid_storage_arn` (HTTP status 400)
10814
10815 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`.
10816
10817- `sandbox_egress_restricted` (HTTP status 403)
10818
10819 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
10820
10821#### Example
10822
10823```bash
10824curl https://api.anthropic.com/v1/organizations/external_storage/$EXTERNAL_STORAGE_ID \
10825 -X DELETE \
10826 -H 'anthropic-version: 2026-10-21' \
10827 -H 'anthropic-beta: efs-2026-10-01' \
10828 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10829```
10830
10831##### Response (200)
10832
10833```json
10834{
10835 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
10836 "type": "external_storage_deleted"
10837}
10838```
10839
10840### Activate External Storage
10841
10842**POST** `/v1/organizations/external_storage/{external_storage_id}/activate`
10843
10844Verify pending External Storage and make it available. Storage that is
10845already available, active or draining comes back unchanged, without any
10846check.
10847
10848#### Path parameters
10849
10850- `external_storage_id: string`
10851
10852 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.
10853
10854#### Headers
10855
10856- `"anthropic-version": optional string`
10857
10858 The version of the Claude API you want to use.
10859
10860 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
10861
10862- `"anthropic-beta": array of AnthropicBeta`
10863
10864 This endpoint is in beta: requests must send `efs-2026-10-01` in this header.
10865
10866 - `string`
10867
10868 - `"computer-use-2024-10-22"`
10869
10870 - `"computer-use-2025-01-24"`
10871
10872 - `"output-128k-2025-02-19"`
10873
10874 - `"mcp-client-2025-04-04"`
10875
10876 - `"mcp-client-2025-11-20"`
10877
10878 - `"dev-full-thinking-2025-05-14"`
10879
10880 - `"interleaved-thinking-2025-05-14"`
10881
10882 - `"code-execution-2025-05-22"`
10883
10884 - `"context-1m-2025-08-07"`
10885
10886 - `"context-management-2025-06-27"`
10887
10888 - `"model-context-window-exceeded-2025-08-26"`
10889
10890 - `"fast-mode-2026-02-01"`
10891
10892 - `"output-300k-2026-03-24"`
10893
10894 - `"user-profiles-2026-03-24"`
10895
10896 - `"user-profiles-2026-08-18"`
10897
10898 - `"user-profiles-2026-09-04"`
10899
10900 - `"advisor-tool-2026-03-01"`
10901
10902 - `"managed-agents-2026-04-01"`
10903
10904 - `"dreaming-2026-04-21"`
10905
10906 - `"thinking-token-count-2026-05-13"`
10907
10908 - `"server-side-fallback-2026-06-01"`
10909
10910 - `"server-side-fallback-2026-07-01"`
10911
10912 - `"fallback-credit-2026-06-01"`
10913
10914 - `"fallback-credit-2026-07-01"`
10915
10916 - `"agent-memory-2026-07-22"`
10917
10918 - `"mid-conversation-tool-changes-2026-07-01"`
10919
10920 - `"compact-2026-01-12"`
10921
10922 - `"computer-use-2025-11-24"`
10923
10924 - `"mcp-tunnels-2026-06-22"`
10925
10926 - `"structured-outputs-2025-11-13"`
10927
10928 - `"task-budgets-2026-03-13"`
10929
10930 - `"thinking-display-updates-2026-08-18"`
10931
10932 - `"mid-conversation-output-config-2026-07-01"`
10933
10934 - `"thinking-binding-controls-2026-08-01"`
10935
10936 - `"mid-conversation-system-clear-at-2026-08-21"`
10937
10938 - `"compact-2026-09-04"`
10939
10940 - `"inline-tools-2026-09-15"`
10941
10942 - `"mcp-client-2026-09-15"`
10943
10944 - `"ce-plugins-2026-09-01"`
10945
10946 - `"spend-limit-reads-2026-09-26"`
10947
10948 - `"telemetry-destinations-2026-08-11"`
10949
10950 - `"webhooks-2026-10-07"`
10951
10952 - `"admin-user-sign-out-2026-10-08"`
10953
10954 - `"message-threads-2026-08-12"`
10955
10956 - `"analytics-usage-cost-2026-08-24"`
10957
10958 - `"experimental-claude-tag-2026-10-21"`
10959
10960 - `"ce-claude-code-managed-settings-2026-10-06"`
10961
10962 - `"efs-2026-10-01"`
10963
10964 - `"user-profiles-billing-2026-10-01"`
10965
10966 - `"message-batches-2024-09-24"`
10967
10968 **Deprecated**: This value is no longer needed. Remove it from your requests.
10969
10970 - `"prompt-caching-2024-07-31"`
10971
10972 **Deprecated**: This value is no longer needed. Remove it from your requests.
10973
10974 - `"pdfs-2024-09-25"`
10975
10976 **Deprecated**: This value is no longer needed. Remove it from your requests.
10977
10978 - `"token-counting-2024-11-01"`
10979
10980 **Deprecated**: This value is no longer needed. Remove it from your requests.
10981
10982 - `"token-efficient-tools-2025-02-19"`
10983
10984 **Deprecated**: This value is no longer needed. Remove it from your requests.
10985
10986 - `"files-api-2025-04-14"`
10987
10988 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
10989
10990 - `"extended-cache-ttl-2025-04-11"`
10991
10992 **Deprecated**: This value is no longer needed. Remove it from your requests.
10993
10994 - `"skills-2025-10-02"`
10995
10996 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
10997
10998 - `"cache-diagnosis-2026-04-07"`
10999
11000 **Deprecated**: This value is no longer needed. Remove it from your requests.
11001
11002 - `"ce-user-management-2026-07-13"`
11003
11004 **Deprecated**: This value is no longer needed. Remove it from your requests.
11005
11006#### Returns
11007
11008- `BetaExternalStorage object`
11009
11010 A storage bucket in the organization's own cloud account. Anthropic writes
11011 inference data to it from each Workspace it is attached to.
11012
11013 - `type: "external_storage"`
11014
11015 default: external_storage
11016
11017 - `id: string`
11018
11019 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.
11020
11021 - `created_at: string`
11022
11023 format: date-time
11024
11025 - `display_name: string or null`
11026
11027 Human-friendly display name. Null if none was set.
11028
11029 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
11030
11031 - `BetaAWSExternalStorageConfig object`
11032
11033 An Amazon S3 bucket.
11034
11035 - `type: "aws"`
11036
11037 default: aws
11038
11039 - `account_id: string`
11040
11041 12-digit ID of the AWS account that owns the bucket.
11042
11043 - `bucket_name: string`
11044
11045 The bucket's name, without `s3://`.
11046
11047 - `region: string`
11048
11049 The bucket's AWS region.
11050
11051 - `BetaGCPExternalStorageConfig object`
11052
11053 A Google Cloud Storage bucket.
11054
11055 - `type: "gcp"`
11056
11057 default: gcp
11058
11059 - `bucket_name: string`
11060
11061 The bucket's name, without `gs://`.
11062
11063 - `project_number: string`
11064
11065 Number of the Google Cloud project that holds the bucket.
11066
11067 - `region: string`
11068
11069 The bucket's Google Cloud region.
11070
11071 - `setup_template_version: string or null`
11072
11073 The version of Anthropic's setup template whose IAM role names this storage was found to use at activation. Null if no version was recorded, as for storage not yet activated or not on S3.
11074
11075 - `status: BetaPendingConfigurationExternalStorageStatus or BetaAvailableExternalStorageStatus or BetaActiveExternalStorageStatus or BetaDrainingExternalStorageStatus`
11076
11077 - `BetaPendingConfigurationExternalStorageStatus object`
11078
11079 The storage isn't verified yet.
11080
11081 - `type: "pending_configuration"`
11082
11083 default: pending_configuration
11084
11085 - `BetaAvailableExternalStorageStatus object`
11086
11087 The storage is verified, no Workspace has it attached, and Anthropic doesn't use
11088 the bucket.
11089
11090 - `type: "available"`
11091
11092 default: available
11093
11094 - `healthy: boolean`
11095
11096 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
11097
11098 - `last_checked_at: string`
11099
11100 When the bucket's latest recorded check ran, in RFC 3339.
11101
11102 format: date-time
11103
11104 - `BetaActiveExternalStorageStatus object`
11105
11106 At least one Workspace has the storage attached.
11107
11108 - `type: "active"`
11109
11110 default: active
11111
11112 - `healthy: boolean`
11113
11114 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
11115
11116 - `last_checked_at: string`
11117
11118 When the bucket's latest recorded check ran, in RFC 3339.
11119
11120 format: date-time
11121
11122 - `BetaDrainingExternalStorageStatus object`
11123
11124 No Workspace has the storage attached. A Workspace can attach it again, unless
11125 `removal_started` is true.
11126
11127 - `type: "draining"`
11128
11129 default: draining
11130
11131 - `healthy: boolean`
11132
11133 Whether the bucket passed its latest recorded check. It can stay `true` after the bucket stops working, so don't use it for monitoring.
11134
11135 - `last_checked_at: string`
11136
11137 When the bucket's latest recorded check ran, in RFC 3339.
11138
11139 format: date-time
11140
11141 - `removal_started: boolean`
11142
11143 True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
11144
11145 default: false
11146
11147 - `updated_at: string`
11148
11149 format: date-time
11150
11151 - `user_profile_id: string or null`
11152
11153 The user profile the storage is bound to, or null.
11154
11155#### Errors
11156
11157Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
11158
11159Each code below is the value of `error.details.error_code` in the response body.
11160
11161- `grant_required` (HTTP status 400)
11162
11163 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.
11164
11165- `invalid_storage_arn` (HTTP status 400)
11166
11167 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`.
11168
11169- `organization_not_eligible` (HTTP status 400)
11170
11171 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.
11172
11173- `provider_not_allowed` (HTTP status 400)
11174
11175 The request can't use External Storage on this cloud provider. The error's message says why.
11176
11177- `storage_verification_failed` (HTTP status 400)
11178
11179 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
11180
11181- `user_profile_not_found` (HTTP status 400)
11182
11183 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.
11184
11185- `sandbox_egress_restricted` (HTTP status 403)
11186
11187 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
11188
11189- `authorization_check_unavailable` (HTTP status 503)
11190
11191 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
11192
11193#### Example
11194
11195```bash
11196curl https://api.anthropic.com/v1/organizations/external_storage/$EXTERNAL_STORAGE_ID/activate \
11197 -X POST \
11198 -H 'anthropic-version: 2026-10-21' \
11199 -H 'anthropic-beta: efs-2026-10-01' \
11200 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
11201```
11202
11203##### Response (200)
11204
11205```json
11206{
11207 "id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
11208 "created_at": "2024-10-30T23:58:27.427722Z",
11209 "display_name": "display_name",
11210 "provider_config": {
11211 "account_id": "111122223333",
11212 "bucket_name": "acme-safety-retention",
11213 "region": "us-east-2",
11214 "type": "aws"
11215 },
11216 "setup_template_version": "2",
11217 "status": {
11218 "type": "pending_configuration"
11219 },
11220 "type": "external_storage",
11221 "updated_at": "2024-10-30T23:58:27.427722Z",
11222 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
11223}
11224```
11225
896611226## Organization › Users
896711227
896811228### List Users
from line 11775
951511775
951611776 - `"ce-claude-code-managed-settings-2026-10-06"`
951711777
11778 - `"efs-2026-10-01"`
11779
951811780 - `"user-profiles-billing-2026-10-01"`
951911781
952011782 - `"message-batches-2024-09-24"`
from line 11982
972011982
972111983 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
972211984
11985- `"anthropic-beta": optional array of AnthropicBeta`
11986
11987 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
11988
11989 - `string`
11990
11991 - `"computer-use-2024-10-22"`
11992
11993 - `"computer-use-2025-01-24"`
11994
11995 - `"output-128k-2025-02-19"`
11996
11997 - `"mcp-client-2025-04-04"`
11998
11999 - `"mcp-client-2025-11-20"`
12000
12001 - `"dev-full-thinking-2025-05-14"`
12002
12003 - `"interleaved-thinking-2025-05-14"`
12004
12005 - `"code-execution-2025-05-22"`
12006
12007 - `"context-1m-2025-08-07"`
12008
12009 - `"context-management-2025-06-27"`
12010
12011 - `"model-context-window-exceeded-2025-08-26"`
12012
12013 - `"fast-mode-2026-02-01"`
12014
12015 - `"output-300k-2026-03-24"`
12016
12017 - `"user-profiles-2026-03-24"`
12018
12019 - `"user-profiles-2026-08-18"`
12020
12021 - `"user-profiles-2026-09-04"`
12022
12023 - `"advisor-tool-2026-03-01"`
12024
12025 - `"managed-agents-2026-04-01"`
12026
12027 - `"dreaming-2026-04-21"`
12028
12029 - `"thinking-token-count-2026-05-13"`
12030
12031 - `"server-side-fallback-2026-06-01"`
12032
12033 - `"server-side-fallback-2026-07-01"`
12034
12035 - `"fallback-credit-2026-06-01"`
12036
12037 - `"fallback-credit-2026-07-01"`
12038
12039 - `"agent-memory-2026-07-22"`
12040
12041 - `"mid-conversation-tool-changes-2026-07-01"`
12042
12043 - `"compact-2026-01-12"`
12044
12045 - `"computer-use-2025-11-24"`
12046
12047 - `"mcp-tunnels-2026-06-22"`
12048
12049 - `"structured-outputs-2025-11-13"`
12050
12051 - `"task-budgets-2026-03-13"`
12052
12053 - `"thinking-display-updates-2026-08-18"`
12054
12055 - `"mid-conversation-output-config-2026-07-01"`
12056
12057 - `"thinking-binding-controls-2026-08-01"`
12058
12059 - `"mid-conversation-system-clear-at-2026-08-21"`
12060
12061 - `"compact-2026-09-04"`
12062
12063 - `"inline-tools-2026-09-15"`
12064
12065 - `"mcp-client-2026-09-15"`
12066
12067 - `"ce-plugins-2026-09-01"`
12068
12069 - `"spend-limit-reads-2026-09-26"`
12070
12071 - `"telemetry-destinations-2026-08-11"`
12072
12073 - `"webhooks-2026-10-07"`
12074
12075 - `"admin-user-sign-out-2026-10-08"`
12076
12077 - `"message-threads-2026-08-12"`
12078
12079 - `"analytics-usage-cost-2026-08-24"`
12080
12081 - `"experimental-claude-tag-2026-10-21"`
12082
12083 - `"ce-claude-code-managed-settings-2026-10-06"`
12084
12085 - `"efs-2026-10-01"`
12086
12087 - `"user-profiles-billing-2026-10-01"`
12088
12089 - `"message-batches-2024-09-24"`
12090
12091 **Deprecated**: This value is no longer needed. Remove it from your requests.
12092
12093 - `"prompt-caching-2024-07-31"`
12094
12095 **Deprecated**: This value is no longer needed. Remove it from your requests.
12096
12097 - `"pdfs-2024-09-25"`
12098
12099 **Deprecated**: This value is no longer needed. Remove it from your requests.
12100
12101 - `"token-counting-2024-11-01"`
12102
12103 **Deprecated**: This value is no longer needed. Remove it from your requests.
12104
12105 - `"token-efficient-tools-2025-02-19"`
12106
12107 **Deprecated**: This value is no longer needed. Remove it from your requests.
12108
12109 - `"files-api-2025-04-14"`
12110
12111 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
12112
12113 - `"extended-cache-ttl-2025-04-11"`
12114
12115 **Deprecated**: This value is no longer needed. Remove it from your requests.
12116
12117 - `"skills-2025-10-02"`
12118
12119 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
12120
12121 - `"cache-diagnosis-2026-04-07"`
12122
12123 **Deprecated**: This value is no longer needed. Remove it from your requests.
12124
12125 - `"ce-user-management-2026-07-13"`
12126
12127 **Deprecated**: This value is no longer needed. Remove it from your requests.
12128
972312129#### Returns
972412130
972512131- `data: array of BetaWorkspace`
from line 12227
982112227
982212228 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.
982312229
12230 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
12231
12232 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.
12233
12234 - `human_review: optional BetaAnthropicHumanReview`
12235
12236 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`.
12237
12238 - `type: "disabled" or "enabled"`
12239
12240 - `"disabled"`
12241
12242 - `"enabled"`
12243
12244 - `safeguards_storage: optional BetaStorageMember`
12245
12246 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.
12247
12248 - `BetaInternalStorage object`
12249
12250 No External Storage for this purpose.
12251
12252 - `type: "internal"`
12253
12254 default: internal
12255
12256 - `BetaExternalStorageMember object`
12257
12258 The organization's External Storage that `external_storage_id` names.
12259
12260 - `type: "external"`
12261
12262 default: external
12263
12264 - `external_storage_id: string`
12265
12266 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.
12267
12268 - `transcripts_storage: optional BetaStorageMember`
12269
12270 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.
12271
982412272- `first_id: string or null`
982512273
982612274 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 12312
986412312 "team": "platform"
986512313 },
986612314 "type": "workspace",
9867 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
12315 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
12316 "inference_data_privacy": {
12317 "human_review": {
12318 "type": "disabled"
12319 },
12320 "safeguards_storage": {
12321 "type": "internal"
12322 },
12323 "transcripts_storage": {
12324 "type": "internal"
12325 }
12326 }
986812327 }
986912328 ],
987012329 "first_id": "first_id",
from line 12446
998712446
998812447 - `"ce-claude-code-managed-settings-2026-10-06"`
998912448
12449 - `"efs-2026-10-01"`
12450
999012451 - `"user-profiles-billing-2026-10-01"`
999112452
999212453 - `"message-batches-2024-09-24"`
from line 12547
1008612547 a Workspace it cannot be detached or replaced. To rotate key material, rotate
1008712548 the underlying key on your cloud KMS; the `external_key_id` stays the same.
1008812549
12550- `inference_data_privacy: optional BetaInferenceDataPrivacyCreateParam or null`
12551
12552 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.
12553
12554 - `human_review: optional BetaAnthropicHumanReviewParam`
12555
12556 Whether Anthropic's human review applies to the Workspace. `disabled` needs Anthropic's approval. When omitted, `enabled`. Cannot be null.
12557
12558 - `type: "disabled" or "enabled"`
12559
12560 - `"disabled"`
12561
12562 - `"enabled"`
12563
12564 - `safeguards_storage: optional BetaStorageMemberParam`
12565
12566 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.
12567
12568 - `BetaInternalStorageParam object`
12569
12570 No External Storage for this purpose.
12571
12572 - `type: "internal"`
12573
12574 - `BetaExternalStorageMemberParam object`
12575
12576 The organization's External Storage that `external_storage_id` names.
12577
12578 - `type: "external"`
12579
12580 - `external_storage_id: string`
12581
12582 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.
12583
12584 - `transcripts_storage: optional BetaStorageMemberParam`
12585
12586 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.
12587
1008912588- `tags: optional map[string] or null`
1009012589
1009112590 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
from line 12694
1019512694
1019612695 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.
1019712696
12697 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
12698
12699 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.
12700
12701 - `human_review: optional BetaAnthropicHumanReview`
12702
12703 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`.
12704
12705 - `type: "disabled" or "enabled"`
12706
12707 - `"disabled"`
12708
12709 - `"enabled"`
12710
12711 - `safeguards_storage: optional BetaStorageMember`
12712
12713 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.
12714
12715 - `BetaInternalStorage object`
12716
12717 No External Storage for this purpose.
12718
12719 - `type: "internal"`
12720
12721 default: internal
12722
12723 - `BetaExternalStorageMember object`
12724
12725 The organization's External Storage that `external_storage_id` names.
12726
12727 - `type: "external"`
12728
12729 default: external
12730
12731 - `external_storage_id: string`
12732
12733 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.
12734
12735 - `transcripts_storage: optional BetaStorageMember`
12736
12737 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.
12738
1019812739#### Errors
1019912740
1020012741Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1020112742
1020212743Each code below is the value of `error.details.error_code` in the response body.
1020312744
12745- `approval_required` (HTTP status 400)
12746
12747 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
12748
1020412749- `external_key_validation_failed` (HTTP status 400)
1020512750
1020612751 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
from line 12754
1020912754
1021012755 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.
1021112756
12757- `external_storage_not_available` (HTTP status 400)
12758
12759 External Storage isn't available for this Workspace, so only `internal` storage is accepted. The error's `message` says why.
12760
12761- `grant_required` (HTTP status 400)
12762
12763 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.
12764
12765- `human_review_not_available` (HTTP status 400)
12766
12767 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.
12768
12769- `human_review_on_with_external_storage` (HTTP status 400)
12770
12771 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`.
12772
12773- `invalid_storage_arn` (HTTP status 400)
12774
12775 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`.
12776
1021212777- `key_profile_mismatch` (HTTP status 400)
1021312778
1021412779 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.
1021512780
12781- `organization_not_eligible` (HTTP status 400)
12782
12783 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.
12784
12785- `storage_not_attachable` (HTTP status 400)
12786
12787 This External Storage can't be attached to the setting named in `field`. The error's `message` says why.
12788
12789- `storage_profile_mismatch` (HTTP status 400)
12790
12791 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.
12792
12793- `storage_verification_failed` (HTTP status 400)
12794
12795 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
12796
12797- `transcripts_storage_required` (HTTP status 400)
12798
12799 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.
12800
1021612801- `user_profile_not_found` (HTTP status 400)
1021712802
1021812803 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 12814
1022912814
1023012815 The external key changed while the request was validating it. Send the request again.
1023112816
12817- `authorization_check_unavailable` (HTTP status 503)
12818
12819 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
12820
12821- `workspace_created_incomplete` (HTTP status 503)
12822
12823 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`.
12824
1023212825#### Example
1023312826
1023412827```bash
from line 12862
1026912862 "team": "platform"
1027012863 },
1027112864 "type": "workspace",
10272 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
12865 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
12866 "inference_data_privacy": {
12867 "human_review": {
12868 "type": "disabled"
12869 },
12870 "safeguards_storage": {
12871 "type": "internal"
12872 },
12873 "transcripts_storage": {
12874 "type": "internal"
12875 }
12876 }
1027312877}
1027412878```
1027512879
from line 12897
1029312897
1029412898 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1029512899
12900- `"anthropic-beta": optional array of AnthropicBeta`
12901
12902 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
12903
12904 - `string`
12905
12906 - `"computer-use-2024-10-22"`
12907
12908 - `"computer-use-2025-01-24"`
12909
12910 - `"output-128k-2025-02-19"`
12911
12912 - `"mcp-client-2025-04-04"`
12913
12914 - `"mcp-client-2025-11-20"`
12915
12916 - `"dev-full-thinking-2025-05-14"`
12917
12918 - `"interleaved-thinking-2025-05-14"`
12919
12920 - `"code-execution-2025-05-22"`
12921
12922 - `"context-1m-2025-08-07"`
12923
12924 - `"context-management-2025-06-27"`
12925
12926 - `"model-context-window-exceeded-2025-08-26"`
12927
12928 - `"fast-mode-2026-02-01"`
12929
12930 - `"output-300k-2026-03-24"`
12931
12932 - `"user-profiles-2026-03-24"`
12933
12934 - `"user-profiles-2026-08-18"`
12935
12936 - `"user-profiles-2026-09-04"`
12937
12938 - `"advisor-tool-2026-03-01"`
12939
12940 - `"managed-agents-2026-04-01"`
12941
12942 - `"dreaming-2026-04-21"`
12943
12944 - `"thinking-token-count-2026-05-13"`
12945
12946 - `"server-side-fallback-2026-06-01"`
12947
12948 - `"server-side-fallback-2026-07-01"`
12949
12950 - `"fallback-credit-2026-06-01"`
12951
12952 - `"fallback-credit-2026-07-01"`
12953
12954 - `"agent-memory-2026-07-22"`
12955
12956 - `"mid-conversation-tool-changes-2026-07-01"`
12957
12958 - `"compact-2026-01-12"`
12959
12960 - `"computer-use-2025-11-24"`
12961
12962 - `"mcp-tunnels-2026-06-22"`
12963
12964 - `"structured-outputs-2025-11-13"`
12965
12966 - `"task-budgets-2026-03-13"`
12967
12968 - `"thinking-display-updates-2026-08-18"`
12969
12970 - `"mid-conversation-output-config-2026-07-01"`
12971
12972 - `"thinking-binding-controls-2026-08-01"`
12973
12974 - `"mid-conversation-system-clear-at-2026-08-21"`
12975
12976 - `"compact-2026-09-04"`
12977
12978 - `"inline-tools-2026-09-15"`
12979
12980 - `"mcp-client-2026-09-15"`
12981
12982 - `"ce-plugins-2026-09-01"`
12983
12984 - `"spend-limit-reads-2026-09-26"`
12985
12986 - `"telemetry-destinations-2026-08-11"`
12987
12988 - `"webhooks-2026-10-07"`
12989
12990 - `"admin-user-sign-out-2026-10-08"`
12991
12992 - `"message-threads-2026-08-12"`
12993
12994 - `"analytics-usage-cost-2026-08-24"`
12995
12996 - `"experimental-claude-tag-2026-10-21"`
12997
12998 - `"ce-claude-code-managed-settings-2026-10-06"`
12999
13000 - `"efs-2026-10-01"`
13001
13002 - `"user-profiles-billing-2026-10-01"`
13003
13004 - `"message-batches-2024-09-24"`
13005
13006 **Deprecated**: This value is no longer needed. Remove it from your requests.
13007
13008 - `"prompt-caching-2024-07-31"`
13009
13010 **Deprecated**: This value is no longer needed. Remove it from your requests.
13011
13012 - `"pdfs-2024-09-25"`
13013
13014 **Deprecated**: This value is no longer needed. Remove it from your requests.
13015
13016 - `"token-counting-2024-11-01"`
13017
13018 **Deprecated**: This value is no longer needed. Remove it from your requests.
13019
13020 - `"token-efficient-tools-2025-02-19"`
13021
13022 **Deprecated**: This value is no longer needed. Remove it from your requests.
13023
13024 - `"files-api-2025-04-14"`
13025
13026 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
13027
13028 - `"extended-cache-ttl-2025-04-11"`
13029
13030 **Deprecated**: This value is no longer needed. Remove it from your requests.
13031
13032 - `"skills-2025-10-02"`
13033
13034 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
13035
13036 - `"cache-diagnosis-2026-04-07"`
13037
13038 **Deprecated**: This value is no longer needed. Remove it from your requests.
13039
13040 - `"ce-user-management-2026-07-13"`
13041
13042 **Deprecated**: This value is no longer needed. Remove it from your requests.
13043
1029613044#### Returns
1029713045
1029813046- `BetaWorkspace object`
from line 13142
1039413142
1039513143 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.
1039613144
13145 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
13146
13147 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.
13148
13149 - `human_review: optional BetaAnthropicHumanReview`
13150
13151 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`.
13152
13153 - `type: "disabled" or "enabled"`
13154
13155 - `"disabled"`
13156
13157 - `"enabled"`
13158
13159 - `safeguards_storage: optional BetaStorageMember`
13160
13161 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.
13162
13163 - `BetaInternalStorage object`
13164
13165 No External Storage for this purpose.
13166
13167 - `type: "internal"`
13168
13169 default: internal
13170
13171 - `BetaExternalStorageMember object`
13172
13173 The organization's External Storage that `external_storage_id` names.
13174
13175 - `type: "external"`
13176
13177 default: external
13178
13179 - `external_storage_id: string`
13180
13181 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.
13182
13183 - `transcripts_storage: optional BetaStorageMember`
13184
13185 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.
13186
1039713187#### Example
1039813188
1039913189```bash
from line 13213
1042313213 "team": "platform"
1042413214 },
1042513215 "type": "workspace",
10426 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
13216 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
13217 "inference_data_privacy": {
13218 "human_review": {
13219 "type": "disabled"
13220 },
13221 "safeguards_storage": {
13222 "type": "internal"
13223 },
13224 "transcripts_storage": {
13225 "type": "internal"
13226 }
13227 }
1042713228}
1042813229```
1042913230
from line 13246
1044513246
1044613247 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1044713248
13249- `"anthropic-beta": optional array of AnthropicBeta`
13250
13251 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
13252
13253 - `string`
13254
13255 - `"computer-use-2024-10-22"`
13256
13257 - `"computer-use-2025-01-24"`
13258
13259 - `"output-128k-2025-02-19"`
13260
13261 - `"mcp-client-2025-04-04"`
13262
13263 - `"mcp-client-2025-11-20"`
13264
13265 - `"dev-full-thinking-2025-05-14"`
13266
13267 - `"interleaved-thinking-2025-05-14"`
13268
13269 - `"code-execution-2025-05-22"`
13270
13271 - `"context-1m-2025-08-07"`
13272
13273 - `"context-management-2025-06-27"`
13274
13275 - `"model-context-window-exceeded-2025-08-26"`
13276
13277 - `"fast-mode-2026-02-01"`
13278
13279 - `"output-300k-2026-03-24"`
13280
13281 - `"user-profiles-2026-03-24"`
13282
13283 - `"user-profiles-2026-08-18"`
13284
13285 - `"user-profiles-2026-09-04"`
13286
13287 - `"advisor-tool-2026-03-01"`
13288
13289 - `"managed-agents-2026-04-01"`
13290
13291 - `"dreaming-2026-04-21"`
13292
13293 - `"thinking-token-count-2026-05-13"`
13294
13295 - `"server-side-fallback-2026-06-01"`
13296
13297 - `"server-side-fallback-2026-07-01"`
13298
13299 - `"fallback-credit-2026-06-01"`
13300
13301 - `"fallback-credit-2026-07-01"`
13302
13303 - `"agent-memory-2026-07-22"`
13304
13305 - `"mid-conversation-tool-changes-2026-07-01"`
13306
13307 - `"compact-2026-01-12"`
13308
13309 - `"computer-use-2025-11-24"`
13310
13311 - `"mcp-tunnels-2026-06-22"`
13312
13313 - `"structured-outputs-2025-11-13"`
13314
13315 - `"task-budgets-2026-03-13"`
13316
13317 - `"thinking-display-updates-2026-08-18"`
13318
13319 - `"mid-conversation-output-config-2026-07-01"`
13320
13321 - `"thinking-binding-controls-2026-08-01"`
13322
13323 - `"mid-conversation-system-clear-at-2026-08-21"`
13324
13325 - `"compact-2026-09-04"`
13326
13327 - `"inline-tools-2026-09-15"`
13328
13329 - `"mcp-client-2026-09-15"`
13330
13331 - `"ce-plugins-2026-09-01"`
13332
13333 - `"spend-limit-reads-2026-09-26"`
13334
13335 - `"telemetry-destinations-2026-08-11"`
13336
13337 - `"webhooks-2026-10-07"`
13338
13339 - `"admin-user-sign-out-2026-10-08"`
13340
13341 - `"message-threads-2026-08-12"`
13342
13343 - `"analytics-usage-cost-2026-08-24"`
13344
13345 - `"experimental-claude-tag-2026-10-21"`
13346
13347 - `"ce-claude-code-managed-settings-2026-10-06"`
13348
13349 - `"efs-2026-10-01"`
13350
13351 - `"user-profiles-billing-2026-10-01"`
13352
13353 - `"message-batches-2024-09-24"`
13354
13355 **Deprecated**: This value is no longer needed. Remove it from your requests.
13356
13357 - `"prompt-caching-2024-07-31"`
13358
13359 **Deprecated**: This value is no longer needed. Remove it from your requests.
13360
13361 - `"pdfs-2024-09-25"`
13362
13363 **Deprecated**: This value is no longer needed. Remove it from your requests.
13364
13365 - `"token-counting-2024-11-01"`
13366
13367 **Deprecated**: This value is no longer needed. Remove it from your requests.
13368
13369 - `"token-efficient-tools-2025-02-19"`
13370
13371 **Deprecated**: This value is no longer needed. Remove it from your requests.
13372
13373 - `"files-api-2025-04-14"`
13374
13375 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
13376
13377 - `"extended-cache-ttl-2025-04-11"`
13378
13379 **Deprecated**: This value is no longer needed. Remove it from your requests.
13380
13381 - `"skills-2025-10-02"`
13382
13383 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
13384
13385 - `"cache-diagnosis-2026-04-07"`
13386
13387 **Deprecated**: This value is no longer needed. Remove it from your requests.
13388
13389 - `"ce-user-management-2026-07-13"`
13390
13391 **Deprecated**: This value is no longer needed. Remove it from your requests.
13392
1044813393#### Body parameters
1044913394
1045013395- `data_residency: optional BetaDataResidencyUpdateConfig or null`
from line 13437
1049213437 a Workspace it cannot be detached or replaced. To rotate key material, rotate
1049313438 the underlying key on your cloud KMS; the `external_key_id` stays the same.
1049413439
13440- `inference_data_privacy: optional BetaInferenceDataPrivacyUpdateParam or null`
13441
13442 Changes to where the Workspace's retained inference data and transcript copies go, and to whether Anthropic's human review applies. Requires the `efs-2026-10-01` `anthropic-beta` value. An omitted member is unchanged. 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.
13443
13444 - `human_review: optional BetaAnthropicHumanReviewParam`
13445
13446 Whether Anthropic's human review applies to the Workspace from now on. `disabled` needs Anthropic's approval. When omitted, unchanged. Cannot be null.
13447
13448 - `type: "disabled" or "enabled"`
13449
13450 - `"disabled"`
13451
13452 - `"enabled"`
13453
13454 - `safeguards_storage: optional BetaStorageMemberParam`
13455
13456 Where the data Anthropic's safeguards systems retain for the Workspace goes once the change takes effect. `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. When omitted, unchanged. Cannot be null.
13457
13458 - `BetaInternalStorageParam object`
13459
13460 No External Storage for this purpose.
13461
13462 - `type: "internal"`
13463
13464 - `BetaExternalStorageMemberParam object`
13465
13466 The organization's External Storage that `external_storage_id` names.
13467
13468 - `type: "external"`
13469
13470 - `external_storage_id: string`
13471
13472 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.
13473
13474 - `transcripts_storage: optional BetaStorageMemberParam`
13475
13476 Where copies of the Workspace's transcripts and its cases (Anthropic's safety findings about those transcripts) go once the change takes effect. `external` sends them to the External Storage that `external_storage_id` names. `internal` means no External Storage, so no more copies are made. When omitted, unchanged. Cannot be null.
13477
1049513478- `name: optional string`
1049613479
1049713480 Name of the Workspace.
from line 13590
1060713590
1060813591 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.
1060913592
13593 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
13594
13595 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.
13596
13597 - `human_review: optional BetaAnthropicHumanReview`
13598
13599 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`.
13600
13601 - `type: "disabled" or "enabled"`
13602
13603 - `"disabled"`
13604
13605 - `"enabled"`
13606
13607 - `safeguards_storage: optional BetaStorageMember`
13608
13609 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.
13610
13611 - `BetaInternalStorage object`
13612
13613 No External Storage for this purpose.
13614
13615 - `type: "internal"`
13616
13617 default: internal
13618
13619 - `BetaExternalStorageMember object`
13620
13621 The organization's External Storage that `external_storage_id` names.
13622
13623 - `type: "external"`
13624
13625 default: external
13626
13627 - `external_storage_id: string`
13628
13629 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.
13630
13631 - `transcripts_storage: optional BetaStorageMember`
13632
13633 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.
13634
1061013635#### Errors
1061113636
1061213637Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1061313638
1061413639Each code below is the value of `error.details.error_code` in the response body.
1061513640
13641- `approval_required` (HTTP status 400)
13642
13643 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
13644
1061613645- `external_key_validation_failed` (HTTP status 400)
1061713646
1061813647 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
from line 13650
1062113650
1062213651 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.
1062313652
13653- `external_storage_not_available` (HTTP status 400)
13654
13655 External Storage isn't available for this Workspace, so only `internal` storage is accepted. The error's `message` says why.
13656
13657- `grant_required` (HTTP status 400)
13658
13659 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.
13660
13661- `human_review_not_available` (HTTP status 400)
13662
13663 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.
13664
13665- `human_review_on_with_external_storage` (HTTP status 400)
13666
13667 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`.
13668
13669- `invalid_storage_arn` (HTTP status 400)
13670
13671 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`.
13672
1062413673- `key_profile_mismatch` (HTTP status 400)
1062513674
1062613675 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.
1062713676
13677- `organization_not_eligible` (HTTP status 400)
13678
13679 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.
13680
13681- `storage_attach_limit_reached` (HTTP status 400)
13682
13683 The Workspace has reached its limit of 100 different External Storage resources attached over its lifetime. Detached storage counts toward the limit until it is deleted.
13684
13685- `storage_not_attachable` (HTTP status 400)
13686
13687 This External Storage can't be attached to the setting named in `field`. The error's `message` says why.
13688
13689- `storage_profile_mismatch` (HTTP status 400)
13690
13691 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.
13692
13693- `storage_profile_still_required` (HTTP status 400)
13694
13695 This storage is bound to a different user profile from storage the Workspace has attached, or from active or draining storage it once had for safeguards data. Detaching storage the Workspace uses only for transcripts clears this. Detaching safeguards storage doesn't, so use a new Workspace instead.
13696
13697- `storage_verification_failed` (HTTP status 400)
13698
13699 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
13700
13701- `transcripts_storage_required` (HTTP status 400)
13702
13703 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.
13704
1062813705- `user_profile_not_found` (HTTP status 400)
1062913706
1063013707 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 13718
1064113718
1064213719 The external key changed while the request was validating it. Send the request again.
1064313720
13721- `storage_changed_concurrently` (HTTP status 409)
13722
13723 Another request changed this storage setting while this one was running, so this request left it as it is. Read the Workspace and send the request again if you still want the change.
13724
13725- `workspace_changed_concurrently` (HTTP status 409)
13726
13727 Another request changed the Workspace, so this request left the setting named in `field` as it is. The error's `message` says which of this request's other changes are in place. Read the Workspace and send the request again if you still want the change.
13728
13729- `authorization_check_unavailable` (HTTP status 503)
13730
13731 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
13732
13733- `change_outcome_unknown` (HTTP status 503)
13734
13735 Some of the request's changes may have been saved and others not. Send the same request again to finish it; changes already saved aren't repeated.
13736
1064413737#### Example
1064513738
1064613739```bash
from line 13774
1068113774 "team": "platform"
1068213775 },
1068313776 "type": "workspace",
10684 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
13777 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
13778 "inference_data_privacy": {
13779 "human_review": {
13780 "type": "disabled"
13781 },
13782 "safeguards_storage": {
13783 "type": "internal"
13784 },
13785 "transcripts_storage": {
13786 "type": "internal"
13787 }
13788 }
1068513789}
1068613790```
1068713791
from line 13807
1070313807
1070413808 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1070513809
13810- `"anthropic-beta": optional array of AnthropicBeta`
13811
13812 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
13813
13814 - `string`
13815
13816 - `"computer-use-2024-10-22"`
13817
13818 - `"computer-use-2025-01-24"`
13819
13820 - `"output-128k-2025-02-19"`
13821
13822 - `"mcp-client-2025-04-04"`
13823
13824 - `"mcp-client-2025-11-20"`
13825
13826 - `"dev-full-thinking-2025-05-14"`
13827
13828 - `"interleaved-thinking-2025-05-14"`
13829
13830 - `"code-execution-2025-05-22"`
13831
13832 - `"context-1m-2025-08-07"`
13833
13834 - `"context-management-2025-06-27"`
13835
13836 - `"model-context-window-exceeded-2025-08-26"`
13837
13838 - `"fast-mode-2026-02-01"`
13839
13840 - `"output-300k-2026-03-24"`
13841
13842 - `"user-profiles-2026-03-24"`
13843
13844 - `"user-profiles-2026-08-18"`
13845
13846 - `"user-profiles-2026-09-04"`
13847
13848 - `"advisor-tool-2026-03-01"`
13849
13850 - `"managed-agents-2026-04-01"`
13851
13852 - `"dreaming-2026-04-21"`
13853
13854 - `"thinking-token-count-2026-05-13"`
13855
13856 - `"server-side-fallback-2026-06-01"`
13857
13858 - `"server-side-fallback-2026-07-01"`
13859
13860 - `"fallback-credit-2026-06-01"`
13861
13862 - `"fallback-credit-2026-07-01"`
13863
13864 - `"agent-memory-2026-07-22"`
13865
13866 - `"mid-conversation-tool-changes-2026-07-01"`
13867
13868 - `"compact-2026-01-12"`
13869
13870 - `"computer-use-2025-11-24"`
13871
13872 - `"mcp-tunnels-2026-06-22"`
13873
13874 - `"structured-outputs-2025-11-13"`
13875
13876 - `"task-budgets-2026-03-13"`
13877
13878 - `"thinking-display-updates-2026-08-18"`
13879
13880 - `"mid-conversation-output-config-2026-07-01"`
13881
13882 - `"thinking-binding-controls-2026-08-01"`
13883
13884 - `"mid-conversation-system-clear-at-2026-08-21"`
13885
13886 - `"compact-2026-09-04"`
13887
13888 - `"inline-tools-2026-09-15"`
13889
13890 - `"mcp-client-2026-09-15"`
13891
13892 - `"ce-plugins-2026-09-01"`
13893
13894 - `"spend-limit-reads-2026-09-26"`
13895
13896 - `"telemetry-destinations-2026-08-11"`
13897
13898 - `"webhooks-2026-10-07"`
13899
13900 - `"admin-user-sign-out-2026-10-08"`
13901
13902 - `"message-threads-2026-08-12"`
13903
13904 - `"analytics-usage-cost-2026-08-24"`
13905
13906 - `"experimental-claude-tag-2026-10-21"`
13907
13908 - `"ce-claude-code-managed-settings-2026-10-06"`
13909
13910 - `"efs-2026-10-01"`
13911
13912 - `"user-profiles-billing-2026-10-01"`
13913
13914 - `"message-batches-2024-09-24"`
13915
13916 **Deprecated**: This value is no longer needed. Remove it from your requests.
13917
13918 - `"prompt-caching-2024-07-31"`
13919
13920 **Deprecated**: This value is no longer needed. Remove it from your requests.
13921
13922 - `"pdfs-2024-09-25"`
13923
13924 **Deprecated**: This value is no longer needed. Remove it from your requests.
13925
13926 - `"token-counting-2024-11-01"`
13927
13928 **Deprecated**: This value is no longer needed. Remove it from your requests.
13929
13930 - `"token-efficient-tools-2025-02-19"`
13931
13932 **Deprecated**: This value is no longer needed. Remove it from your requests.
13933
13934 - `"files-api-2025-04-14"`
13935
13936 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
13937
13938 - `"extended-cache-ttl-2025-04-11"`
13939
13940 **Deprecated**: This value is no longer needed. Remove it from your requests.
13941
13942 - `"skills-2025-10-02"`
13943
13944 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
13945
13946 - `"cache-diagnosis-2026-04-07"`
13947
13948 **Deprecated**: This value is no longer needed. Remove it from your requests.
13949
13950 - `"ce-user-management-2026-07-13"`
13951
13952 **Deprecated**: This value is no longer needed. Remove it from your requests.
13953
1070613954#### Returns
1070713955
1070813956- `BetaWorkspace object`
from line 14052
1080414052
1080514053 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.
1080614054
14055 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
14056
14057 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.
14058
14059 - `human_review: optional BetaAnthropicHumanReview`
14060
14061 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`.
14062
14063 - `type: "disabled" or "enabled"`
14064
14065 - `"disabled"`
14066
14067 - `"enabled"`
14068
14069 - `safeguards_storage: optional BetaStorageMember`
14070
14071 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.
14072
14073 - `BetaInternalStorage object`
14074
14075 No External Storage for this purpose.
14076
14077 - `type: "internal"`
14078
14079 default: internal
14080
14081 - `BetaExternalStorageMember object`
14082
14083 The organization's External Storage that `external_storage_id` names.
14084
14085 - `type: "external"`
14086
14087 default: external
14088
14089 - `external_storage_id: string`
14090
14091 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.
14092
14093 - `transcripts_storage: optional BetaStorageMember`
14094
14095 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.
14096
1080714097#### Errors
1080814098
1080914099Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
from line 14104
1081414104
1081514105 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1081614106
14107- `storage_attached_during_archive` (HTTP status 409)
14108
14109 The Workspace was archived, but External Storage was attached to it during the archive and is still attached. To detach it, archive the Workspace again as a caller with the `org:external-storage:use` permission.
14110
1081714111#### Example
1081814112
1081914113```bash
from line 14138
1084414138 "team": "platform"
1084514139 },
1084614140 "type": "workspace",
10847 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
14141 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
14142 "inference_data_privacy": {
14143 "human_review": {
14144 "type": "disabled"
14145 },
14146 "safeguards_storage": {
14147 "type": "internal"
14148 },
14149 "transcripts_storage": {
14150 "type": "internal"
14151 }
14152 }
1084814153}
1084914154```
1085014155
from line 15293
1198815293
1198915294 - `"ce-claude-code-managed-settings-2026-10-06"`
1199015295
15296 - `"efs-2026-10-01"`
15297
1199115298 - `"user-profiles-billing-2026-10-01"`
1199215299
1199315300 - `"message-batches-2024-09-24"`
from line 15536
1222915536
1223015537 - `"ce-claude-code-managed-settings-2026-10-06"`
1223115538
15539 - `"efs-2026-10-01"`
15540
1223215541 - `"user-profiles-billing-2026-10-01"`
1223315542
1223415543 - `"message-batches-2024-09-24"`
from line 15805
1249615805
1249715806 - `"ce-claude-code-managed-settings-2026-10-06"`
1249815807
15808 - `"efs-2026-10-01"`
15809
1249915810 - `"user-profiles-billing-2026-10-01"`
1250015811
1250115812 - `"message-batches-2024-09-24"`
from line 16041
1273016041
1273116042 - `"ce-claude-code-managed-settings-2026-10-06"`
1273216043
16044 - `"efs-2026-10-01"`
16045
1273316046 - `"user-profiles-billing-2026-10-01"`
1273416047
1273516048 - `"message-batches-2024-09-24"`
from line 16304
1299116304
1299216305 - `"ce-claude-code-managed-settings-2026-10-06"`
1299316306
16307 - `"efs-2026-10-01"`
16308
1299416309 - `"user-profiles-billing-2026-10-01"`
1299516310
1299616311 - `"message-batches-2024-09-24"`
from line 16622
1330716622
1330816623 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1330916624
16625- `"anthropic-beta": optional array of AnthropicBeta`
16626
16627 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
16628
16629 - `string`
16630
16631 - `"computer-use-2024-10-22"`
16632
16633 - `"computer-use-2025-01-24"`
16634
16635 - `"output-128k-2025-02-19"`
16636
16637 - `"mcp-client-2025-04-04"`
16638
16639 - `"mcp-client-2025-11-20"`
16640
16641 - `"dev-full-thinking-2025-05-14"`
16642
16643 - `"interleaved-thinking-2025-05-14"`
16644
16645 - `"code-execution-2025-05-22"`
16646
16647 - `"context-1m-2025-08-07"`
16648
16649 - `"context-management-2025-06-27"`
16650
16651 - `"model-context-window-exceeded-2025-08-26"`
16652
16653 - `"fast-mode-2026-02-01"`
16654
16655 - `"output-300k-2026-03-24"`
16656
16657 - `"user-profiles-2026-03-24"`
16658
16659 - `"user-profiles-2026-08-18"`
16660
16661 - `"user-profiles-2026-09-04"`
16662
16663 - `"advisor-tool-2026-03-01"`
16664
16665 - `"managed-agents-2026-04-01"`
16666
16667 - `"dreaming-2026-04-21"`
16668
16669 - `"thinking-token-count-2026-05-13"`
16670
16671 - `"server-side-fallback-2026-06-01"`
16672
16673 - `"server-side-fallback-2026-07-01"`
16674
16675 - `"fallback-credit-2026-06-01"`
16676
16677 - `"fallback-credit-2026-07-01"`
16678
16679 - `"agent-memory-2026-07-22"`
16680
16681 - `"mid-conversation-tool-changes-2026-07-01"`
16682
16683 - `"compact-2026-01-12"`
16684
16685 - `"computer-use-2025-11-24"`
16686
16687 - `"mcp-tunnels-2026-06-22"`
16688
16689 - `"structured-outputs-2025-11-13"`
16690
16691 - `"task-budgets-2026-03-13"`
16692
16693 - `"thinking-display-updates-2026-08-18"`
16694
16695 - `"mid-conversation-output-config-2026-07-01"`
16696
16697 - `"thinking-binding-controls-2026-08-01"`
16698
16699 - `"mid-conversation-system-clear-at-2026-08-21"`
16700
16701 - `"compact-2026-09-04"`
16702
16703 - `"inline-tools-2026-09-15"`
16704
16705 - `"mcp-client-2026-09-15"`
16706
16707 - `"ce-plugins-2026-09-01"`
16708
16709 - `"spend-limit-reads-2026-09-26"`
16710
16711 - `"telemetry-destinations-2026-08-11"`
16712
16713 - `"webhooks-2026-10-07"`
16714
16715 - `"admin-user-sign-out-2026-10-08"`
16716
16717 - `"message-threads-2026-08-12"`
16718
16719 - `"analytics-usage-cost-2026-08-24"`
16720
16721 - `"experimental-claude-tag-2026-10-21"`
16722
16723 - `"ce-claude-code-managed-settings-2026-10-06"`
16724
16725 - `"efs-2026-10-01"`
16726
16727 - `"user-profiles-billing-2026-10-01"`
16728
16729 - `"message-batches-2024-09-24"`
16730
16731 **Deprecated**: This value is no longer needed. Remove it from your requests.
16732
16733 - `"prompt-caching-2024-07-31"`
16734
16735 **Deprecated**: This value is no longer needed. Remove it from your requests.
16736
16737 - `"pdfs-2024-09-25"`
16738
16739 **Deprecated**: This value is no longer needed. Remove it from your requests.
16740
16741 - `"token-counting-2024-11-01"`
16742
16743 **Deprecated**: This value is no longer needed. Remove it from your requests.
16744
16745 - `"token-efficient-tools-2025-02-19"`
16746
16747 **Deprecated**: This value is no longer needed. Remove it from your requests.
16748
16749 - `"files-api-2025-04-14"`
16750
16751 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
16752
16753 - `"extended-cache-ttl-2025-04-11"`
16754
16755 **Deprecated**: This value is no longer needed. Remove it from your requests.
16756
16757 - `"skills-2025-10-02"`
16758
16759 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
16760
16761 - `"cache-diagnosis-2026-04-07"`
16762
16763 **Deprecated**: This value is no longer needed. Remove it from your requests.
16764
16765 - `"ce-user-management-2026-07-13"`
16766
16767 **Deprecated**: This value is no longer needed. Remove it from your requests.
16768
1331016769#### Returns
1331116770
1331216771- `BetaComplianceSettings object`
from line 16790
1333116790
1333216791 default: disabled
1333316792
16793 - `access_transparency: optional BetaAccessTransparency`
16794
16795 Read-only. Whether Access Transparency is on for the organization. Returned only when the request sends the `anthropic-beta: efs-2026-10-01` header and Access Transparency is available to the organization; otherwise omitted. If the status can't be read, getting Compliance Settings returns an error; an update still saves, but then reports `disabled` whatever the real status, so get the settings again to check it.
16796
16797 - `type: "disabled" or "enabled"`
16798
16799 - `"disabled"`
16800
16801 - `"enabled"`
16802
1333416803#### Example
1333516804
1333616805```bash
from line 16815
1334616815 "state": {
1334716816 "type": "enabled"
1334816817 },
13349 "type": "compliance_settings"
16818 "type": "compliance_settings",
16819 "access_transparency": {
16820 "type": "disabled"
16821 }
1335016822}
1335116823```
1335216824
from line 16852
1338016852
1338116853 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1338216854
16855- `"anthropic-beta": optional array of AnthropicBeta`
16856
16857 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
16858
16859 - `string`
16860
16861 - `"computer-use-2024-10-22"`
16862
16863 - `"computer-use-2025-01-24"`
16864
16865 - `"output-128k-2025-02-19"`
16866
16867 - `"mcp-client-2025-04-04"`
16868
16869 - `"mcp-client-2025-11-20"`
16870
16871 - `"dev-full-thinking-2025-05-14"`
16872
16873 - `"interleaved-thinking-2025-05-14"`
16874
16875 - `"code-execution-2025-05-22"`
16876
16877 - `"context-1m-2025-08-07"`
16878
16879 - `"context-management-2025-06-27"`
16880
16881 - `"model-context-window-exceeded-2025-08-26"`
16882
16883 - `"fast-mode-2026-02-01"`
16884
16885 - `"output-300k-2026-03-24"`
16886
16887 - `"user-profiles-2026-03-24"`
16888
16889 - `"user-profiles-2026-08-18"`
16890
16891 - `"user-profiles-2026-09-04"`
16892
16893 - `"advisor-tool-2026-03-01"`
16894
16895 - `"managed-agents-2026-04-01"`
16896
16897 - `"dreaming-2026-04-21"`
16898
16899 - `"thinking-token-count-2026-05-13"`
16900
16901 - `"server-side-fallback-2026-06-01"`
16902
16903 - `"server-side-fallback-2026-07-01"`
16904
16905 - `"fallback-credit-2026-06-01"`
16906
16907 - `"fallback-credit-2026-07-01"`
16908
16909 - `"agent-memory-2026-07-22"`
16910
16911 - `"mid-conversation-tool-changes-2026-07-01"`
16912
16913 - `"compact-2026-01-12"`
16914
16915 - `"computer-use-2025-11-24"`
16916
16917 - `"mcp-tunnels-2026-06-22"`
16918
16919 - `"structured-outputs-2025-11-13"`
16920
16921 - `"task-budgets-2026-03-13"`
16922
16923 - `"thinking-display-updates-2026-08-18"`
16924
16925 - `"mid-conversation-output-config-2026-07-01"`
16926
16927 - `"thinking-binding-controls-2026-08-01"`
16928
16929 - `"mid-conversation-system-clear-at-2026-08-21"`
16930
16931 - `"compact-2026-09-04"`
16932
16933 - `"inline-tools-2026-09-15"`
16934
16935 - `"mcp-client-2026-09-15"`
16936
16937 - `"ce-plugins-2026-09-01"`
16938
16939 - `"spend-limit-reads-2026-09-26"`
16940
16941 - `"telemetry-destinations-2026-08-11"`
16942
16943 - `"webhooks-2026-10-07"`
16944
16945 - `"admin-user-sign-out-2026-10-08"`
16946
16947 - `"message-threads-2026-08-12"`
16948
16949 - `"analytics-usage-cost-2026-08-24"`
16950
16951 - `"experimental-claude-tag-2026-10-21"`
16952
16953 - `"ce-claude-code-managed-settings-2026-10-06"`
16954
16955 - `"efs-2026-10-01"`
16956
16957 - `"user-profiles-billing-2026-10-01"`
16958
16959 - `"message-batches-2024-09-24"`
16960
16961 **Deprecated**: This value is no longer needed. Remove it from your requests.
16962
16963 - `"prompt-caching-2024-07-31"`
16964
16965 **Deprecated**: This value is no longer needed. Remove it from your requests.
16966
16967 - `"pdfs-2024-09-25"`
16968
16969 **Deprecated**: This value is no longer needed. Remove it from your requests.
16970
16971 - `"token-counting-2024-11-01"`
16972
16973 **Deprecated**: This value is no longer needed. Remove it from your requests.
16974
16975 - `"token-efficient-tools-2025-02-19"`
16976
16977 **Deprecated**: This value is no longer needed. Remove it from your requests.
16978
16979 - `"files-api-2025-04-14"`
16980
16981 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
16982
16983 - `"extended-cache-ttl-2025-04-11"`
16984
16985 **Deprecated**: This value is no longer needed. Remove it from your requests.
16986
16987 - `"skills-2025-10-02"`
16988
16989 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
16990
16991 - `"cache-diagnosis-2026-04-07"`
16992
16993 **Deprecated**: This value is no longer needed. Remove it from your requests.
16994
16995 - `"ce-user-management-2026-07-13"`
16996
16997 **Deprecated**: This value is no longer needed. Remove it from your requests.
16998
1338316999#### Body parameters
1338417000
1338517001- `state: BetaComplianceSettingsStateParam`
from line 17034
1341817034
1341917035 default: disabled
1342017036
17037 - `access_transparency: optional BetaAccessTransparency`
17038
17039 Read-only. Whether Access Transparency is on for the organization. Returned only when the request sends the `anthropic-beta: efs-2026-10-01` header and Access Transparency is available to the organization; otherwise omitted. If the status can't be read, getting Compliance Settings returns an error; an update still saves, but then reports `disabled` whatever the real status, so get the settings again to check it.
17040
17041 - `type: "disabled" or "enabled"`
17042
17043 - `"disabled"`
17044
17045 - `"enabled"`
17046
1342117047#### Errors
1342217048
1342317049Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
from line 17075
1344917075 "state": {
1345017076 "type": "enabled"
1345117077 },
13452 "type": "compliance_settings"
17078 "type": "compliance_settings",
17079 "access_transparency": {
17080 "type": "disabled"
17081 }
1345317082}
1345417083```
1345517084
from line 17324
1369517324
1369617325 - `"ce-claude-code-managed-settings-2026-10-06"`
1369717326
17327 - `"efs-2026-10-01"`
17328
1369817329 - `"user-profiles-billing-2026-10-01"`
1369917330
1370017331 - `"message-batches-2024-09-24"`
from line 17979
1434817979
1434917980 - `"ce-claude-code-managed-settings-2026-10-06"`
1435017981
17982 - `"efs-2026-10-01"`
17983
1435117984 - `"user-profiles-billing-2026-10-01"`
1435217985
1435317986 - `"message-batches-2024-09-24"`
from line 18323
1469018323
1469118324 - `"ce-claude-code-managed-settings-2026-10-06"`
1469218325
18326 - `"efs-2026-10-01"`
18327
1469318328 - `"user-profiles-billing-2026-10-01"`
1469418329
1469518330 - `"message-batches-2024-09-24"`
from line 18565
1493018565
1493118566 - `"ce-claude-code-managed-settings-2026-10-06"`
1493218567
18568 - `"efs-2026-10-01"`
18569
1493318570 - `"user-profiles-billing-2026-10-01"`
1493418571
1493518572 - `"message-batches-2024-09-24"`
from line 18803
1516618803
1516718804 - `"ce-claude-code-managed-settings-2026-10-06"`
1516818805
18806 - `"efs-2026-10-01"`
18807
1516918808 - `"user-profiles-billing-2026-10-01"`
1517018809
1517118810 - `"message-batches-2024-09-24"`
from line 19052
1541319052
1541419053 - `"ce-claude-code-managed-settings-2026-10-06"`
1541519054
19055 - `"efs-2026-10-01"`
19056
1541619057 - `"user-profiles-billing-2026-10-01"`
1541719058
1541819059 - `"message-batches-2024-09-24"`
from line 19273
1563219273
1563319274 - `"ce-claude-code-managed-settings-2026-10-06"`
1563419275
19276 - `"efs-2026-10-01"`
19277
1563519278 - `"user-profiles-billing-2026-10-01"`
1563619279
1563719280 - `"message-batches-2024-09-24"`
from line 19505
1586219505
1586319506 - `"ce-claude-code-managed-settings-2026-10-06"`
1586419507
19508 - `"efs-2026-10-01"`
19509
1586519510 - `"user-profiles-billing-2026-10-01"`
1586619511
1586719512 - `"message-batches-2024-09-24"`
from line 19783
1613819783
1613919784 - `"ce-claude-code-managed-settings-2026-10-06"`
1614019785
19786 - `"efs-2026-10-01"`
19787
1614119788 - `"user-profiles-billing-2026-10-01"`
1614219789
1614319790 - `"message-batches-2024-09-24"`
from line 20029
1638220029
1638320030 - `"ce-claude-code-managed-settings-2026-10-06"`
1638420031
20032 - `"efs-2026-10-01"`
20033
1638520034 - `"user-profiles-billing-2026-10-01"`
1638620035
1638720036 - `"message-batches-2024-09-24"`
from line 20270
1662120270
1662220271 - `"ce-claude-code-managed-settings-2026-10-06"`
1662320272
20273 - `"efs-2026-10-01"`
20274
1662420275 - `"user-profiles-billing-2026-10-01"`
1662520276
1662620277 - `"message-batches-2024-09-24"`
from line 22857
1920622857
1920722858 - `"ce-claude-code-managed-settings-2026-10-06"`
1920822859
22860 - `"efs-2026-10-01"`
22861
1920922862 - `"user-profiles-billing-2026-10-01"`
1921022863
1921122864 - `"message-batches-2024-09-24"`
from line 23680
2002723680
2002823681 - `"ce-claude-code-managed-settings-2026-10-06"`
2002923682
23683 - `"efs-2026-10-01"`
23684
2003023685 - `"user-profiles-billing-2026-10-01"`
2003123686
2003223687 - `"message-batches-2024-09-24"`
from line 25778
2212325778
2212425779 - `"ce-claude-code-managed-settings-2026-10-06"`
2212525780
25781 - `"efs-2026-10-01"`
25782
2212625783 - `"user-profiles-billing-2026-10-01"`
2212725784
2212825785 - `"message-batches-2024-09-24"`
from line 26457
2280026457
2280126458 - `"ce-claude-code-managed-settings-2026-10-06"`
2280226459
26460 - `"efs-2026-10-01"`
26461
2280326462 - `"user-profiles-billing-2026-10-01"`
2280426463
2280526464 - `"message-batches-2024-09-24"`
from line 29701
2604229701
2604329702 - `"ce-claude-code-managed-settings-2026-10-06"`
2604429703
29704 - `"efs-2026-10-01"`
29705
2604529706 - `"user-profiles-billing-2026-10-01"`
2604629707
2604729708 - `"message-batches-2024-09-24"`
from line 30174
2651330174
2651430175 - `"ce-claude-code-managed-settings-2026-10-06"`
2651530176
30177 - `"efs-2026-10-01"`
30178
2651630179 - `"user-profiles-billing-2026-10-01"`
2651730180
2651830181 - `"message-batches-2024-09-24"`
from line 30614
2695130614
2695230615 - `"ce-claude-code-managed-settings-2026-10-06"`
2695330616
30617 - `"efs-2026-10-01"`
30618
2695430619 - `"user-profiles-billing-2026-10-01"`
2695530620
2695630621 - `"message-batches-2024-09-24"`
from line 31129
2746431129
2746531130 - `"ce-claude-code-managed-settings-2026-10-06"`
2746631131
31132 - `"efs-2026-10-01"`
31133
2746731134 - `"user-profiles-billing-2026-10-01"`
2746831135
2746931136 - `"message-batches-2024-09-24"`
from line 31566
2789931566
2790031567 - `"ce-claude-code-managed-settings-2026-10-06"`
2790131568
31569 - `"efs-2026-10-01"`
31570
2790231571 - `"user-profiles-billing-2026-10-01"`
2790331572
2790431573 - `"message-batches-2024-09-24"`
from line 31795
2812631795
2812731796 - `"ce-claude-code-managed-settings-2026-10-06"`
2812831797
31798 - `"efs-2026-10-01"`
31799
2812931800 - `"user-profiles-billing-2026-10-01"`
2813031801
2813131802 - `"message-batches-2024-09-24"`
from line 32206
2853532206
2853632207 - `"ce-claude-code-managed-settings-2026-10-06"`
2853732208
32209 - `"efs-2026-10-01"`
32210
2853832211 - `"user-profiles-billing-2026-10-01"`
2853932212
2854032213 - `"message-batches-2024-09-24"`
from line 32569
2889632569
2889732570 - `"ce-claude-code-managed-settings-2026-10-06"`
2889832571
32572 - `"efs-2026-10-01"`
32573
2889932574 - `"user-profiles-billing-2026-10-01"`
2890032575
2890132576 - `"message-batches-2024-09-24"`
from line 32939
2926432939
2926532940 - `"ce-claude-code-managed-settings-2026-10-06"`
2926632941
32942 - `"efs-2026-10-01"`
32943
2926732944 - `"user-profiles-billing-2026-10-01"`
2926832945
2926932946 - `"message-batches-2024-09-24"`
from line 33163
2948633163
2948733164 - `"ce-claude-code-managed-settings-2026-10-06"`
2948833165
33166 - `"efs-2026-10-01"`
33167
2948933168 - `"user-profiles-billing-2026-10-01"`
2949033169
2949133170 - `"message-batches-2024-09-24"`
from line 33448
2976933448
2977033449 - `"ce-claude-code-managed-settings-2026-10-06"`
2977133450
33451 - `"efs-2026-10-01"`
33452
2977233453 - `"user-profiles-billing-2026-10-01"`
2977333454
2977433455 - `"message-batches-2024-09-24"`
from line 33760
3007933760
3008033761 - `"ce-claude-code-managed-settings-2026-10-06"`
3008133762
33763 - `"efs-2026-10-01"`
33764
3008233765 - `"user-profiles-billing-2026-10-01"`
3008333766
3008433767 - `"message-batches-2024-09-24"`
from line 34046
3036334046
3036434047 - `"ce-claude-code-managed-settings-2026-10-06"`
3036534048
34049 - `"efs-2026-10-01"`
34050
3036634051 - `"user-profiles-billing-2026-10-01"`
3036734052
3036834053 - `"message-batches-2024-09-24"`
from line 34339
3065434339
3065534340 - `"ce-claude-code-managed-settings-2026-10-06"`
3065634341
34342 - `"efs-2026-10-01"`
34343
3065734344 - `"user-profiles-billing-2026-10-01"`
3065834345
3065934346 - `"message-batches-2024-09-24"`
from line 34644
3095734644
3095834645 - `"ce-claude-code-managed-settings-2026-10-06"`
3095934646
34647 - `"efs-2026-10-01"`
34648
3096034649 - `"user-profiles-billing-2026-10-01"`
3096134650
3096234651 - `"message-batches-2024-09-24"`
from line 34939
3125034939
3125134940 - `"ce-claude-code-managed-settings-2026-10-06"`
3125234941
34942 - `"efs-2026-10-01"`
34943
3125334944 - `"user-profiles-billing-2026-10-01"`
3125434945
3125534946 - `"message-batches-2024-09-24"`
from line 35266
3157535266
3157635267 - `"ce-claude-code-managed-settings-2026-10-06"`
3157735268
35269 - `"efs-2026-10-01"`
35270
3157835271 - `"user-profiles-billing-2026-10-01"`
3157935272
3158035273 - `"message-batches-2024-09-24"`
from line 35580
3188735580
3188835581 - `"ce-claude-code-managed-settings-2026-10-06"`
3188935582
35583 - `"efs-2026-10-01"`
35584
3189035585 - `"user-profiles-billing-2026-10-01"`
3189135586
3189235587 - `"message-batches-2024-09-24"`
from line 35882
3218735882
3218835883 - `"ce-claude-code-managed-settings-2026-10-06"`
3218935884
35885 - `"efs-2026-10-01"`
35886
3219035887 - `"user-profiles-billing-2026-10-01"`
3219135888
3219235889 - `"message-batches-2024-09-24"`
from line 36391
3269436391
3269536392 - `"ce-claude-code-managed-settings-2026-10-06"`
3269636393
36394 - `"efs-2026-10-01"`
36395
3269736396 - `"user-profiles-billing-2026-10-01"`
3269836397
3269936398 - `"message-batches-2024-09-24"`
from line 36778
3307936778
3308036779 - `"ce-claude-code-managed-settings-2026-10-06"`
3308136780
36781 - `"efs-2026-10-01"`
36782
3308236783 - `"user-profiles-billing-2026-10-01"`
3308336784
3308436785 - `"message-batches-2024-09-24"`
from line 37160
3345937160
3346037161 - `"ce-claude-code-managed-settings-2026-10-06"`
3346137162
37163 - `"efs-2026-10-01"`
37164
3346237165 - `"user-profiles-billing-2026-10-01"`
3346337166
3346437167 - `"message-batches-2024-09-24"`
from line 37676
3397337676
3397437677 - `"ce-claude-code-managed-settings-2026-10-06"`
3397537678
37679 - `"efs-2026-10-01"`
37680
3397637681 - `"user-profiles-billing-2026-10-01"`
3397737682
3397837683 - `"message-batches-2024-09-24"`
from line 37871
3416637871
3416737872 - `"ce-claude-code-managed-settings-2026-10-06"`
3416837873
37874 - `"efs-2026-10-01"`
37875
3416937876 - `"user-profiles-billing-2026-10-01"`
3417037877
3417137878 - `"message-batches-2024-09-24"`
from line 38102
3439538102
3439638103 - `"ce-claude-code-managed-settings-2026-10-06"`
3439738104
38105 - `"efs-2026-10-01"`
38106
3439838107 - `"user-profiles-billing-2026-10-01"`
3439938108
3440038109 - `"message-batches-2024-09-24"`
from line 38327
3461838327
3461938328 - `"ce-claude-code-managed-settings-2026-10-06"`
3462038329
38330 - `"efs-2026-10-01"`
38331
3462138332 - `"user-profiles-billing-2026-10-01"`
3462238333
3462338334 - `"message-batches-2024-09-24"`
from line 38546
3483538546
3483638547 - `"ce-claude-code-managed-settings-2026-10-06"`
3483738548
38549 - `"efs-2026-10-01"`
38550
3483838551 - `"user-profiles-billing-2026-10-01"`
3483938552
3484038553 - `"message-batches-2024-09-24"`
from line 38750
3503738750
3503838751 - `"ce-claude-code-managed-settings-2026-10-06"`
3503938752
38753 - `"efs-2026-10-01"`
38754
3504038755 - `"user-profiles-billing-2026-10-01"`
3504138756
3504238757 - `"message-batches-2024-09-24"`
from line 38796
3508138796
3508238797#### Body parameters
3508338798
35084- `enabled_events: array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
38799- `enabled_events: array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3508538800
3508638801 The event types to deliver to the endpoint. Must list at least one.
3508738802
from line 38804
3508938804
3509038805 - `"external_key.recovered"`
3509138806
38807 - `"external_storage.failed"`
38808
38809 - `"external_storage.recovered"`
38810
3509238811 - `"user_profile.enforcement_action_opened"`
3509338812
3509438813 - `"user_profile.enforcement_action_resolved"`
from line 38852
3513338852
3513438853 Why Anthropic disabled the endpoint automatically. An empty string when the endpoint is enabled, or when you disabled it.
3513538854
35136 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
38855 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3513738856
3513838857 The event types delivered to the endpoint.
3513938858
from line 38860
3514138860
3514238861 - `"external_key.recovered"`
3514338862
38863 - `"external_storage.failed"`
38864
38865 - `"external_storage.recovered"`
38866
3514438867 - `"user_profile.enforcement_action_opened"`
3514538868
3514638869 - `"user_profile.enforcement_action_resolved"`
from line 39076
3535339076
3535439077 - `"ce-claude-code-managed-settings-2026-10-06"`
3535539078
39079 - `"efs-2026-10-01"`
39080
3535639081 - `"user-profiles-billing-2026-10-01"`
3535739082
3535839083 - `"message-batches-2024-09-24"`
from line 39144
3541939144
3542039145 Why Anthropic disabled the endpoint automatically. An empty string when the endpoint is enabled, or when you disabled it.
3542139146
35422 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
39147 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3542339148
3542439149 The event types delivered to the endpoint.
3542539150
from line 39152
3542739152
3542839153 - `"external_key.recovered"`
3542939154
39155 - `"external_storage.failed"`
39156
39157 - `"external_storage.recovered"`
39158
3543039159 - `"user_profile.enforcement_action_opened"`
3543139160
3543239161 - `"user_profile.enforcement_action_resolved"`
from line 39354
3562539354
3562639355 - `"ce-claude-code-managed-settings-2026-10-06"`
3562739356
39357 - `"efs-2026-10-01"`
39358
3562839359 - `"user-profiles-billing-2026-10-01"`
3562939360
3563039361 - `"message-batches-2024-09-24"`
from line 39423
3569239423
3569339424 Why Anthropic disabled the endpoint automatically. An empty string when the endpoint is enabled, or when you disabled it.
3569439425
35695 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
39426 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3569639427
3569739428 The event types delivered to the endpoint.
3569839429
from line 39431
3570039431
3570139432 - `"external_key.recovered"`
3570239433
39434 - `"external_storage.failed"`
39435
39436 - `"external_storage.recovered"`
39437
3570339438 - `"user_profile.enforcement_action_opened"`
3570439439
3570539440 - `"user_profile.enforcement_action_resolved"`
from line 39614
3587939614
3588039615 - `"ce-claude-code-managed-settings-2026-10-06"`
3588139616
39617 - `"efs-2026-10-01"`
39618
3588239619 - `"user-profiles-billing-2026-10-01"`
3588339620
3588439621 - `"message-batches-2024-09-24"`
from line 39664
3592739664
3592839665 Notes about the endpoint.
3592939666
35930- `enabled_events: optional array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
39667- `enabled_events: optional array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3593139668
3593239669 The event types to deliver to the endpoint. Replaces the whole set; an empty list leaves it unchanged.
3593339670
from line 39672
3593539672
3593639673 - `"external_key.recovered"`
3593739674
39675 - `"external_storage.failed"`
39676
39677 - `"external_storage.recovered"`
39678
3593839679 - `"user_profile.enforcement_action_opened"`
3593939680
3594039681 - `"user_profile.enforcement_action_resolved"`
from line 39725
3598439725
3598539726 Why Anthropic disabled the endpoint automatically. An empty string when the endpoint is enabled, or when you disabled it.
3598639727
35987 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "user_profile.enforcement_action_opened" or 2 more`
39728 - `enabled_events: array of "external_key.failed" or "external_key.recovered" or "external_storage.failed" or 4 more`
3598839729
3598939730 The event types delivered to the endpoint.
3599039731
from line 39733
3599239733
3599339734 - `"external_key.recovered"`
3599439735
39736 - `"external_storage.failed"`
39737
39738 - `"external_storage.recovered"`
39739
3599539740 - `"user_profile.enforcement_action_opened"`
3599639741
3599739742 - `"user_profile.enforcement_action_resolved"`
from line 39918
3617339918
3617439919 - `"ce-claude-code-managed-settings-2026-10-06"`
3617539920
39921 - `"efs-2026-10-01"`
39922
3617639923 - `"user-profiles-billing-2026-10-01"`
3617739924
3617839925 - `"message-batches-2024-09-24"`
from line 40132
3638540132
3638640133 - `"ce-claude-code-managed-settings-2026-10-06"`
3638740134
40135 - `"efs-2026-10-01"`
40136
3638840137 - `"user-profiles-billing-2026-10-01"`
3638940138
3639040139 - `"message-batches-2024-09-24"`
from line 40334
3658540334
3658640335 - `"ce-claude-code-managed-settings-2026-10-06"`
3658740336
40337 - `"efs-2026-10-01"`
40338
3658840339 - `"user-profiles-billing-2026-10-01"`
3658940340
3659040341 - `"message-batches-2024-09-24"`
from line 40573
3682240573
3682340574 - `"ce-claude-code-managed-settings-2026-10-06"`
3682440575
40576 - `"efs-2026-10-01"`
40577
3682540578 - `"user-profiles-billing-2026-10-01"`
3682640579
3682740580 - `"message-batches-2024-09-24"`
from line 40872
3711940872
3712040873 - `"ce-claude-code-managed-settings-2026-10-06"`
3712140874
40875 - `"efs-2026-10-01"`
40876
3712240877 - `"user-profiles-billing-2026-10-01"`
3712340878
3712440879 - `"message-batches-2024-09-24"`
from line 41128
3737341128
3737441129 - `"ce-claude-code-managed-settings-2026-10-06"`
3737541130
41131 - `"efs-2026-10-01"`
41132
3737641133 - `"user-profiles-billing-2026-10-01"`
3737741134
3737841135 - `"message-batches-2024-09-24"`
from line 41404
3764741404
3764841405 - `"ce-claude-code-managed-settings-2026-10-06"`
3764941406
41407 - `"efs-2026-10-01"`
41408
3765041409 - `"user-profiles-billing-2026-10-01"`
3765141410
3765241411 - `"message-batches-2024-09-24"`
from line 41710
3795141710
3795241711 - `"ce-claude-code-managed-settings-2026-10-06"`
3795341712
41713 - `"efs-2026-10-01"`
41714
3795441715 - `"user-profiles-billing-2026-10-01"`
3795541716
3795641717 - `"message-batches-2024-09-24"`
from line 41929
3816841929
3816941930 - `"ce-claude-code-managed-settings-2026-10-06"`
3817041931
41932 - `"efs-2026-10-01"`
41933
3817141934 - `"user-profiles-billing-2026-10-01"`
3817241935
3817341936 - `"message-batches-2024-09-24"`
from line 42148
3838542148
3838642149 - `"ce-claude-code-managed-settings-2026-10-06"`
3838742150
42151 - `"efs-2026-10-01"`
42152
3838842153 - `"user-profiles-billing-2026-10-01"`
3838942154
3839042155 - `"message-batches-2024-09-24"`
from line 42391
3862642391
3862742392 - `"ce-claude-code-managed-settings-2026-10-06"`
3862842393
42394 - `"efs-2026-10-01"`
42395
3862942396 - `"user-profiles-billing-2026-10-01"`
3863042397
3863142398 - `"message-batches-2024-09-24"`
from line 42988
3922142988
3922242989 - `"ce-claude-code-managed-settings-2026-10-06"`
3922342990
42991 - `"efs-2026-10-01"`
42992
3922442993 - `"user-profiles-billing-2026-10-01"`
3922542994
3922642995 - `"message-batches-2024-09-24"`
from line 43467
3969843467
3969943468 - `"ce-claude-code-managed-settings-2026-10-06"`
3970043469
43470 - `"efs-2026-10-01"`
43471
3970143472 - `"user-profiles-billing-2026-10-01"`
3970243473
3970343474 - `"message-batches-2024-09-24"`
from line 43931
4016043931
4016143932 - `"ce-claude-code-managed-settings-2026-10-06"`
4016243933
43934 - `"efs-2026-10-01"`
43935
4016343936 - `"user-profiles-billing-2026-10-01"`
4016443937
4016543938 - `"message-batches-2024-09-24"`
from line 44487
4071444487
4071544488 - `"ce-claude-code-managed-settings-2026-10-06"`
4071644489
44490 - `"efs-2026-10-01"`
44491
4071744492 - `"user-profiles-billing-2026-10-01"`
4071844493
4071944494 - `"message-batches-2024-09-24"`
from line 44724
4094944724
4095044725 - `"ce-claude-code-managed-settings-2026-10-06"`
4095144726
44727 - `"efs-2026-10-01"`
44728
4095244729 - `"user-profiles-billing-2026-10-01"`
4095344730
4095444731 - `"message-batches-2024-09-24"`
from line 45206
4142945206
4143045207 - `"ce-claude-code-managed-settings-2026-10-06"`
4143145208
45209 - `"efs-2026-10-01"`
45210
4143245211 - `"user-profiles-billing-2026-10-01"`
4143345212
4143445213 - `"message-batches-2024-09-24"`
from line 45673
4189445673
4189545674 - `"ce-claude-code-managed-settings-2026-10-06"`
4189645675
45676 - `"efs-2026-10-01"`
45677
4189745678 - `"user-profiles-billing-2026-10-01"`
4189845679
4189945680 - `"message-batches-2024-09-24"`
from line 46240
4245946240
4246046241 - `"ce-claude-code-managed-settings-2026-10-06"`
4246146242
46243 - `"efs-2026-10-01"`
46244
4246246245 - `"user-profiles-billing-2026-10-01"`
4246346246
4246446247 - `"message-batches-2024-09-24"`
from line 46494
4271146494
4271246495 - `"ce-claude-code-managed-settings-2026-10-06"`
4271346496
46497 - `"efs-2026-10-01"`
46498
4271446499 - `"user-profiles-billing-2026-10-01"`
4271546500
4271646501 - `"message-batches-2024-09-24"`
from line 46739
4295446739
4295546740 - `"ce-claude-code-managed-settings-2026-10-06"`
4295646741
46742 - `"efs-2026-10-01"`
46743
4295746744 - `"user-profiles-billing-2026-10-01"`
4295846745
4295946746 - `"message-batches-2024-09-24"`
from line 47018
4323147018
4323247019 - `"ce-claude-code-managed-settings-2026-10-06"`
4323347020
47021 - `"efs-2026-10-01"`
47022
4323447023 - `"user-profiles-billing-2026-10-01"`
4323547024
4323647025 - `"message-batches-2024-09-24"`
from line 47279
4349047279
4349147280 - `"ce-claude-code-managed-settings-2026-10-06"`
4349247281
47282 - `"efs-2026-10-01"`
47283
4349347284 - `"user-profiles-billing-2026-10-01"`
4349447285
4349547286 - `"message-batches-2024-09-24"`
from line 47568
4377747568
4377847569 - `"ce-claude-code-managed-settings-2026-10-06"`
4377947570
47571 - `"efs-2026-10-01"`
47572
4378047573 - `"user-profiles-billing-2026-10-01"`
4378147574
4378247575 - `"message-batches-2024-09-24"`
from line 47824
4403147824
4403247825 - `"ce-claude-code-managed-settings-2026-10-06"`
4403347826
47827 - `"efs-2026-10-01"`
47828
4403447829 - `"user-profiles-billing-2026-10-01"`
4403547830
4403647831 - `"message-batches-2024-09-24"`
4403747832