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 52
5252 The version of the Claude API you want to use.
5353
5454 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
55
56- `"anthropic-beta": optional array of AnthropicBeta`
57
58 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
59
60 - `string`
61
62 - `"computer-use-2024-10-22"`
63
64 - `"computer-use-2025-01-24"`
65
66 - `"output-128k-2025-02-19"`
67
68 - `"mcp-client-2025-04-04"`
69
70 - `"mcp-client-2025-11-20"`
71
72 - `"dev-full-thinking-2025-05-14"`
73
74 - `"interleaved-thinking-2025-05-14"`
75
76 - `"code-execution-2025-05-22"`
77
78 - `"context-1m-2025-08-07"`
79
80 - `"context-management-2025-06-27"`
81
82 - `"model-context-window-exceeded-2025-08-26"`
83
84 - `"fast-mode-2026-02-01"`
85
86 - `"output-300k-2026-03-24"`
87
88 - `"user-profiles-2026-03-24"`
89
90 - `"user-profiles-2026-08-18"`
91
92 - `"user-profiles-2026-09-04"`
93
94 - `"advisor-tool-2026-03-01"`
95
96 - `"managed-agents-2026-04-01"`
97
98 - `"dreaming-2026-04-21"`
99
100 - `"thinking-token-count-2026-05-13"`
101
102 - `"server-side-fallback-2026-06-01"`
103
104 - `"server-side-fallback-2026-07-01"`
105
106 - `"fallback-credit-2026-06-01"`
107
108 - `"fallback-credit-2026-07-01"`
109
110 - `"agent-memory-2026-07-22"`
111
112 - `"mid-conversation-tool-changes-2026-07-01"`
113
114 - `"compact-2026-01-12"`
115
116 - `"computer-use-2025-11-24"`
117
118 - `"mcp-tunnels-2026-06-22"`
119
120 - `"structured-outputs-2025-11-13"`
121
122 - `"task-budgets-2026-03-13"`
123
124 - `"thinking-display-updates-2026-08-18"`
125
126 - `"mid-conversation-output-config-2026-07-01"`
127
128 - `"thinking-binding-controls-2026-08-01"`
129
130 - `"mid-conversation-system-clear-at-2026-08-21"`
131
132 - `"compact-2026-09-04"`
133
134 - `"inline-tools-2026-09-15"`
135
136 - `"mcp-client-2026-09-15"`
137
138 - `"ce-plugins-2026-09-01"`
139
140 - `"spend-limit-reads-2026-09-26"`
141
142 - `"telemetry-destinations-2026-08-11"`
143
144 - `"webhooks-2026-10-07"`
145
146 - `"admin-user-sign-out-2026-10-08"`
147
148 - `"message-threads-2026-08-12"`
149
150 - `"analytics-usage-cost-2026-08-24"`
151
152 - `"experimental-claude-tag-2026-10-21"`
153
154 - `"ce-claude-code-managed-settings-2026-10-06"`
155
156 - `"efs-2026-10-01"`
157
158 - `"user-profiles-billing-2026-10-01"`
159
160 - `"message-batches-2024-09-24"`
161
162 **Deprecated**: This value is no longer needed. Remove it from your requests.
163
164 - `"prompt-caching-2024-07-31"`
165
166 **Deprecated**: This value is no longer needed. Remove it from your requests.
167
168 - `"pdfs-2024-09-25"`
169
170 **Deprecated**: This value is no longer needed. Remove it from your requests.
171
172 - `"token-counting-2024-11-01"`
173
174 **Deprecated**: This value is no longer needed. Remove it from your requests.
175
176 - `"token-efficient-tools-2025-02-19"`
177
178 **Deprecated**: This value is no longer needed. Remove it from your requests.
179
180 - `"files-api-2025-04-14"`
181
182 **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
183
184 - `"extended-cache-ttl-2025-04-11"`
185
186 **Deprecated**: This value is no longer needed. Remove it from your requests.
187
188 - `"skills-2025-10-02"`
189
190 **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
191
192 - `"cache-diagnosis-2026-04-07"`
193
194 **Deprecated**: This value is no longer needed. Remove it from your requests.
195
196 - `"ce-user-management-2026-07-13"`
197
198 **Deprecated**: This value is no longer needed. Remove it from your requests.
55199
56200### Returns
57201
from line 297
153297 - `user_profile_id: string or null`
154298
155299 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.
300
301 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
302
303 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.
304
305 - `human_review: optional BetaAnthropicHumanReview`
306
307 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`.
308
309 - `type: "disabled" or "enabled"`
310
311 - `"disabled"`
312
313 - `"enabled"`
314
315 - `safeguards_storage: optional BetaStorageMember`
316
317 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.
318
319 - `BetaInternalStorage object`
320
321 No External Storage for this purpose.
322
323 - `type: "internal"`
324
325 default: internal
326
327 - `BetaExternalStorageMember object`
328
329 The organization's External Storage that `external_storage_id` names.
330
331 - `type: "external"`
332
333 default: external
334
335 - `external_storage_id: string`
336
337 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.
338
339 - `transcripts_storage: optional BetaStorageMember`
340
341 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.
156342
157343- `first_id: string or null`
158344
from line 383
197383 "team": "platform"
198384 },
199385 "type": "workspace",
200 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
386 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
387 "inference_data_privacy": {
388 "human_review": {
389 "type": "disabled"
390 },
391 "safeguards_storage": {
392 "type": "internal"
393 },
394 "transcripts_storage": {
395 "type": "internal"
396 }
397 }
201398 }
202399 ],
203400 "first_id": "first_id",
from line 516
319516 - `"experimental-claude-tag-2026-10-21"`
320517
321518 - `"ce-claude-code-managed-settings-2026-10-06"`
519
520 - `"efs-2026-10-01"`
322521
323522 - `"user-profiles-billing-2026-10-01"`
324523
from line 618
419618 a Workspace it cannot be detached or replaced. To rotate key material, rotate
420619 the underlying key on your cloud KMS; the `external_key_id` stays the same.
421620
621- `inference_data_privacy: optional BetaInferenceDataPrivacyCreateParam or null`
622
623 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.
624
625 - `human_review: optional BetaAnthropicHumanReviewParam`
626
627 Whether Anthropic's human review applies to the Workspace. `disabled` needs Anthropic's approval. When omitted, `enabled`. Cannot be null.
628
629 - `type: "disabled" or "enabled"`
630
631 - `"disabled"`
632
633 - `"enabled"`
634
635 - `safeguards_storage: optional BetaStorageMemberParam`
636
637 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.
638
639 - `BetaInternalStorageParam object`
640
641 No External Storage for this purpose.
642
643 - `type: "internal"`
644
645 - `BetaExternalStorageMemberParam object`
646
647 The organization's External Storage that `external_storage_id` names.
648
649 - `type: "external"`
650
651 - `external_storage_id: string`
652
653 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.
654
655 - `transcripts_storage: optional BetaStorageMemberParam`
656
657 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.
658
422659- `tags: optional map[string] or null`
423660
424661 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
from line 765
528765
529766 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.
530767
768 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
769
770 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.
771
772 - `human_review: optional BetaAnthropicHumanReview`
773
774 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`.
775
776 - `type: "disabled" or "enabled"`
777
778 - `"disabled"`
779
780 - `"enabled"`
781
782 - `safeguards_storage: optional BetaStorageMember`
783
784 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.
785
786 - `BetaInternalStorage object`
787
788 No External Storage for this purpose.
789
790 - `type: "internal"`
791
792 default: internal
793
794 - `BetaExternalStorageMember object`
795
796 The organization's External Storage that `external_storage_id` names.
797
798 - `type: "external"`
799
800 default: external
801
802 - `external_storage_id: string`
803
804 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.
805
806 - `transcripts_storage: optional BetaStorageMember`
807
808 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.
809
531810### Errors
532811
533812Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
534813
535814Each code below is the value of `error.details.error_code` in the response body.
536815
816- `approval_required` (HTTP status 400)
817
818 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
819
537820- `external_key_validation_failed` (HTTP status 400)
538821
539822 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
from line 825
542825
543826 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.
544827
828- `external_storage_not_available` (HTTP status 400)
829
830 External Storage isn't available for this Workspace, so only `internal` storage is accepted. The error's `message` says why.
831
832- `grant_required` (HTTP status 400)
833
834 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.
835
836- `human_review_not_available` (HTTP status 400)
837
838 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.
839
840- `human_review_on_with_external_storage` (HTTP status 400)
841
842 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`.
843
844- `invalid_storage_arn` (HTTP status 400)
845
846 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`.
847
545848- `key_profile_mismatch` (HTTP status 400)
546849
547850 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.
548851
852- `organization_not_eligible` (HTTP status 400)
853
854 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.
855
856- `storage_not_attachable` (HTTP status 400)
857
858 This External Storage can't be attached to the setting named in `field`. The error's `message` says why.
859
860- `storage_profile_mismatch` (HTTP status 400)
861
862 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.
863
864- `storage_verification_failed` (HTTP status 400)
865
866 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
867
868- `transcripts_storage_required` (HTTP status 400)
869
870 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.
871
549872- `user_profile_not_found` (HTTP status 400)
550873
551874 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 884
561884- `external_key_changed` (HTTP status 409)
562885
563886 The external key changed while the request was validating it. Send the request again.
887
888- `authorization_check_unavailable` (HTTP status 503)
889
890 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
891
892- `workspace_created_incomplete` (HTTP status 503)
893
894 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`.
564895
565896### Example
566897
from line 933
602933 "team": "platform"
603934 },
604935 "type": "workspace",
605 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
936 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
937 "inference_data_privacy": {
938 "human_review": {
939 "type": "disabled"
940 },
941 "safeguards_storage": {
942 "type": "internal"
943 },
944 "transcripts_storage": {
945 "type": "internal"
946 }
947 }
606948}
607949```
608950
from line 967
625967 The version of the Claude API you want to use.
626968
627969 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
970
971- `"anthropic-beta": optional array of AnthropicBeta`
972
973 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
974
975 - `string`
976
977 - `"computer-use-2024-10-22"`
978
979 - `"computer-use-2025-01-24"`
980
981 - `"output-128k-2025-02-19"`
982
983 - `"mcp-client-2025-04-04"`
984
985 - `"mcp-client-2025-11-20"`
986
987 - `"dev-full-thinking-2025-05-14"`
988
989 - `"interleaved-thinking-2025-05-14"`
990
991 - `"code-execution-2025-05-22"`
992
993 - `"context-1m-2025-08-07"`
994
995 - `"context-management-2025-06-27"`
996
997 - `"model-context-window-exceeded-2025-08-26"`
998
999 - `"fast-mode-2026-02-01"`
1000
1001 - `"output-300k-2026-03-24"`
1002
1003 - `"user-profiles-2026-03-24"`
1004
1005 - `"user-profiles-2026-08-18"`
1006
1007 - `"user-profiles-2026-09-04"`
1008
1009 - `"advisor-tool-2026-03-01"`
1010
1011 - `"managed-agents-2026-04-01"`
1012
1013 - `"dreaming-2026-04-21"`
1014
1015 - `"thinking-token-count-2026-05-13"`
1016
1017 - `"server-side-fallback-2026-06-01"`
1018
1019 - `"server-side-fallback-2026-07-01"`
1020
1021 - `"fallback-credit-2026-06-01"`
1022
1023 - `"fallback-credit-2026-07-01"`
1024
1025 - `"agent-memory-2026-07-22"`
1026
1027 - `"mid-conversation-tool-changes-2026-07-01"`
1028
1029 - `"compact-2026-01-12"`
1030
1031 - `"computer-use-2025-11-24"`
1032
1033 - `"mcp-tunnels-2026-06-22"`
1034
1035 - `"structured-outputs-2025-11-13"`
1036
1037 - `"task-budgets-2026-03-13"`
1038
1039 - `"thinking-display-updates-2026-08-18"`
1040
1041 - `"mid-conversation-output-config-2026-07-01"`
1042
1043 - `"thinking-binding-controls-2026-08-01"`
1044
1045 - `"mid-conversation-system-clear-at-2026-08-21"`
1046
1047 - `"compact-2026-09-04"`
1048
1049 - `"inline-tools-2026-09-15"`
1050
1051 - `"mcp-client-2026-09-15"`
1052
1053 - `"ce-plugins-2026-09-01"`
1054
1055 - `"spend-limit-reads-2026-09-26"`
1056
1057 - `"telemetry-destinations-2026-08-11"`
1058
1059 - `"webhooks-2026-10-07"`
1060
1061 - `"admin-user-sign-out-2026-10-08"`
1062
1063 - `"message-threads-2026-08-12"`
1064
1065 - `"analytics-usage-cost-2026-08-24"`
1066
1067 - `"experimental-claude-tag-2026-10-21"`
1068
1069 - `"ce-claude-code-managed-settings-2026-10-06"`
1070
1071 - `"efs-2026-10-01"`
1072
1073 - `"user-profiles-billing-2026-10-01"`
1074
1075 - `"message-batches-2024-09-24"`
1076
1077 **Deprecated**: This value is no longer needed. Remove it from your requests.
1078
1079 - `"prompt-caching-2024-07-31"`
1080
1081 **Deprecated**: This value is no longer needed. Remove it from your requests.
1082
1083 - `"pdfs-2024-09-25"`
1084
1085 **Deprecated**: This value is no longer needed. Remove it from your requests.
1086
1087 - `"token-counting-2024-11-01"`
1088
1089 **Deprecated**: This value is no longer needed. Remove it from your requests.
1090
1091 - `"token-efficient-tools-2025-02-19"`
1092
1093 **Deprecated**: This value is no longer needed. Remove it from your requests.
1094
1095 - `"files-api-2025-04-14"`
1096
1097 **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
1098
1099 - `"extended-cache-ttl-2025-04-11"`
1100
1101 **Deprecated**: This value is no longer needed. Remove it from your requests.
1102
1103 - `"skills-2025-10-02"`
1104
1105 **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
1106
1107 - `"cache-diagnosis-2026-04-07"`
1108
1109 **Deprecated**: This value is no longer needed. Remove it from your requests.
1110
1111 - `"ce-user-management-2026-07-13"`
1112
1113 **Deprecated**: This value is no longer needed. Remove it from your requests.
6281114
6291115### Returns
6301116
from line 1212
7261212 - `user_profile_id: string or null`
7271213
7281214 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.
1215
1216 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
1217
1218 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.
1219
1220 - `human_review: optional BetaAnthropicHumanReview`
1221
1222 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`.
1223
1224 - `type: "disabled" or "enabled"`
1225
1226 - `"disabled"`
1227
1228 - `"enabled"`
1229
1230 - `safeguards_storage: optional BetaStorageMember`
1231
1232 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.
1233
1234 - `BetaInternalStorage object`
1235
1236 No External Storage for this purpose.
1237
1238 - `type: "internal"`
1239
1240 default: internal
1241
1242 - `BetaExternalStorageMember object`
1243
1244 The organization's External Storage that `external_storage_id` names.
1245
1246 - `type: "external"`
1247
1248 default: external
1249
1250 - `external_storage_id: string`
1251
1252 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.
1253
1254 - `transcripts_storage: optional BetaStorageMember`
1255
1256 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.
7291257
7301258### Example
7311259
from line 1284
7561284 "team": "platform"
7571285 },
7581286 "type": "workspace",
759 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
1287 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
1288 "inference_data_privacy": {
1289 "human_review": {
1290 "type": "disabled"
1291 },
1292 "safeguards_storage": {
1293 "type": "internal"
1294 },
1295 "transcripts_storage": {
1296 "type": "internal"
1297 }
1298 }
7601299}
7611300```
7621301
from line 1316
7771316 The version of the Claude API you want to use.
7781317
7791318 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1319
1320- `"anthropic-beta": optional array of AnthropicBeta`
1321
1322 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
1323
1324 - `string`
1325
1326 - `"computer-use-2024-10-22"`
1327
1328 - `"computer-use-2025-01-24"`
1329
1330 - `"output-128k-2025-02-19"`
1331
1332 - `"mcp-client-2025-04-04"`
1333
1334 - `"mcp-client-2025-11-20"`
1335
1336 - `"dev-full-thinking-2025-05-14"`
1337
1338 - `"interleaved-thinking-2025-05-14"`
1339
1340 - `"code-execution-2025-05-22"`
1341
1342 - `"context-1m-2025-08-07"`
1343
1344 - `"context-management-2025-06-27"`
1345
1346 - `"model-context-window-exceeded-2025-08-26"`
1347
1348 - `"fast-mode-2026-02-01"`
1349
1350 - `"output-300k-2026-03-24"`
1351
1352 - `"user-profiles-2026-03-24"`
1353
1354 - `"user-profiles-2026-08-18"`
1355
1356 - `"user-profiles-2026-09-04"`
1357
1358 - `"advisor-tool-2026-03-01"`
1359
1360 - `"managed-agents-2026-04-01"`
1361
1362 - `"dreaming-2026-04-21"`
1363
1364 - `"thinking-token-count-2026-05-13"`
1365
1366 - `"server-side-fallback-2026-06-01"`
1367
1368 - `"server-side-fallback-2026-07-01"`
1369
1370 - `"fallback-credit-2026-06-01"`
1371
1372 - `"fallback-credit-2026-07-01"`
1373
1374 - `"agent-memory-2026-07-22"`
1375
1376 - `"mid-conversation-tool-changes-2026-07-01"`
1377
1378 - `"compact-2026-01-12"`
1379
1380 - `"computer-use-2025-11-24"`
1381
1382 - `"mcp-tunnels-2026-06-22"`
1383
1384 - `"structured-outputs-2025-11-13"`
1385
1386 - `"task-budgets-2026-03-13"`
1387
1388 - `"thinking-display-updates-2026-08-18"`
1389
1390 - `"mid-conversation-output-config-2026-07-01"`
1391
1392 - `"thinking-binding-controls-2026-08-01"`
1393
1394 - `"mid-conversation-system-clear-at-2026-08-21"`
1395
1396 - `"compact-2026-09-04"`
1397
1398 - `"inline-tools-2026-09-15"`
1399
1400 - `"mcp-client-2026-09-15"`
1401
1402 - `"ce-plugins-2026-09-01"`
1403
1404 - `"spend-limit-reads-2026-09-26"`
1405
1406 - `"telemetry-destinations-2026-08-11"`
1407
1408 - `"webhooks-2026-10-07"`
1409
1410 - `"admin-user-sign-out-2026-10-08"`
1411
1412 - `"message-threads-2026-08-12"`
1413
1414 - `"analytics-usage-cost-2026-08-24"`
1415
1416 - `"experimental-claude-tag-2026-10-21"`
1417
1418 - `"ce-claude-code-managed-settings-2026-10-06"`
1419
1420 - `"efs-2026-10-01"`
1421
1422 - `"user-profiles-billing-2026-10-01"`
1423
1424 - `"message-batches-2024-09-24"`
1425
1426 **Deprecated**: This value is no longer needed. Remove it from your requests.
1427
1428 - `"prompt-caching-2024-07-31"`
1429
1430 **Deprecated**: This value is no longer needed. Remove it from your requests.
1431
1432 - `"pdfs-2024-09-25"`
1433
1434 **Deprecated**: This value is no longer needed. Remove it from your requests.
1435
1436 - `"token-counting-2024-11-01"`
1437
1438 **Deprecated**: This value is no longer needed. Remove it from your requests.
1439
1440 - `"token-efficient-tools-2025-02-19"`
1441
1442 **Deprecated**: This value is no longer needed. Remove it from your requests.
1443
1444 - `"files-api-2025-04-14"`
1445
1446 **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
1447
1448 - `"extended-cache-ttl-2025-04-11"`
1449
1450 **Deprecated**: This value is no longer needed. Remove it from your requests.
1451
1452 - `"skills-2025-10-02"`
1453
1454 **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
1455
1456 - `"cache-diagnosis-2026-04-07"`
1457
1458 **Deprecated**: This value is no longer needed. Remove it from your requests.
1459
1460 - `"ce-user-management-2026-07-13"`
1461
1462 **Deprecated**: This value is no longer needed. Remove it from your requests.
7801463
7811464### Body parameters
7821465
from line 1508
8251508 a Workspace it cannot be detached or replaced. To rotate key material, rotate
8261509 the underlying key on your cloud KMS; the `external_key_id` stays the same.
8271510
1511- `inference_data_privacy: optional BetaInferenceDataPrivacyUpdateParam or null`
1512
1513 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.
1514
1515 - `human_review: optional BetaAnthropicHumanReviewParam`
1516
1517 Whether Anthropic's human review applies to the Workspace from now on. `disabled` needs Anthropic's approval. When omitted, unchanged. Cannot be null.
1518
1519 - `type: "disabled" or "enabled"`
1520
1521 - `"disabled"`
1522
1523 - `"enabled"`
1524
1525 - `safeguards_storage: optional BetaStorageMemberParam`
1526
1527 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.
1528
1529 - `BetaInternalStorageParam object`
1530
1531 No External Storage for this purpose.
1532
1533 - `type: "internal"`
1534
1535 - `BetaExternalStorageMemberParam object`
1536
1537 The organization's External Storage that `external_storage_id` names.
1538
1539 - `type: "external"`
1540
1541 - `external_storage_id: string`
1542
1543 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.
1544
1545 - `transcripts_storage: optional BetaStorageMemberParam`
1546
1547 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.
1548
8281549- `name: optional string`
8291550
8301551 Name of the Workspace.
from line 1661
9401661
9411662 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.
9421663
1664 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
1665
1666 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.
1667
1668 - `human_review: optional BetaAnthropicHumanReview`
1669
1670 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`.
1671
1672 - `type: "disabled" or "enabled"`
1673
1674 - `"disabled"`
1675
1676 - `"enabled"`
1677
1678 - `safeguards_storage: optional BetaStorageMember`
1679
1680 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.
1681
1682 - `BetaInternalStorage object`
1683
1684 No External Storage for this purpose.
1685
1686 - `type: "internal"`
1687
1688 default: internal
1689
1690 - `BetaExternalStorageMember object`
1691
1692 The organization's External Storage that `external_storage_id` names.
1693
1694 - `type: "external"`
1695
1696 default: external
1697
1698 - `external_storage_id: string`
1699
1700 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.
1701
1702 - `transcripts_storage: optional BetaStorageMember`
1703
1704 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.
1705
9431706### Errors
9441707
9451708Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
9461709
9471710Each code below is the value of `error.details.error_code` in the response body.
9481711
1712- `approval_required` (HTTP status 400)
1713
1714 Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.
1715
9491716- `external_key_validation_failed` (HTTP status 400)
9501717
9511718 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
from line 1721
9541721
9551722 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.
9561723
1724- `external_storage_not_available` (HTTP status 400)
1725
1726 External Storage isn't available for this Workspace, so only `internal` storage is accepted. The error's `message` says why.
1727
1728- `grant_required` (HTTP status 400)
1729
1730 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.
1731
1732- `human_review_not_available` (HTTP status 400)
1733
1734 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.
1735
1736- `human_review_on_with_external_storage` (HTTP status 400)
1737
1738 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`.
1739
1740- `invalid_storage_arn` (HTTP status 400)
1741
1742 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`.
1743
9571744- `key_profile_mismatch` (HTTP status 400)
9581745
9591746 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.
9601747
1748- `organization_not_eligible` (HTTP status 400)
1749
1750 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.
1751
1752- `storage_attach_limit_reached` (HTTP status 400)
1753
1754 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.
1755
1756- `storage_not_attachable` (HTTP status 400)
1757
1758 This External Storage can't be attached to the setting named in `field`. The error's `message` says why.
1759
1760- `storage_profile_mismatch` (HTTP status 400)
1761
1762 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.
1763
1764- `storage_profile_still_required` (HTTP status 400)
1765
1766 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.
1767
1768- `storage_verification_failed` (HTTP status 400)
1769
1770 The External Storage failed verification, so the request changed nothing. `failed_checks` lists what to fix.
1771
1772- `transcripts_storage_required` (HTTP status 400)
1773
1774 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.
1775
9611776- `user_profile_not_found` (HTTP status 400)
9621777
9631778 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 1788
9731788- `external_key_changed` (HTTP status 409)
9741789
9751790 The external key changed while the request was validating it. Send the request again.
1791
1792- `storage_changed_concurrently` (HTTP status 409)
1793
1794 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.
1795
1796- `workspace_changed_concurrently` (HTTP status 409)
1797
1798 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.
1799
1800- `authorization_check_unavailable` (HTTP status 503)
1801
1802 One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the `Retry-After` delay.
1803
1804- `change_outcome_unknown` (HTTP status 503)
1805
1806 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.
9761807
9771808### Example
9781809
from line 1845
10141845 "team": "platform"
10151846 },
10161847 "type": "workspace",
1017 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
1848 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
1849 "inference_data_privacy": {
1850 "human_review": {
1851 "type": "disabled"
1852 },
1853 "safeguards_storage": {
1854 "type": "internal"
1855 },
1856 "transcripts_storage": {
1857 "type": "internal"
1858 }
1859 }
10181860}
10191861```
10201862
from line 1877
10351877 The version of the Claude API you want to use.
10361878
10371879 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1880
1881- `"anthropic-beta": optional array of AnthropicBeta`
1882
1883 Optional. Send `efs-2026-10-01` in this header to use this endpoint's beta features: additional parameters, accepted values and response fields.
1884
1885 - `string`
1886
1887 - `"computer-use-2024-10-22"`
1888
1889 - `"computer-use-2025-01-24"`
1890
1891 - `"output-128k-2025-02-19"`
1892
1893 - `"mcp-client-2025-04-04"`
1894
1895 - `"mcp-client-2025-11-20"`
1896
1897 - `"dev-full-thinking-2025-05-14"`
1898
1899 - `"interleaved-thinking-2025-05-14"`
1900
1901 - `"code-execution-2025-05-22"`
1902
1903 - `"context-1m-2025-08-07"`
1904
1905 - `"context-management-2025-06-27"`
1906
1907 - `"model-context-window-exceeded-2025-08-26"`
1908
1909 - `"fast-mode-2026-02-01"`
1910
1911 - `"output-300k-2026-03-24"`
1912
1913 - `"user-profiles-2026-03-24"`
1914
1915 - `"user-profiles-2026-08-18"`
1916
1917 - `"user-profiles-2026-09-04"`
1918
1919 - `"advisor-tool-2026-03-01"`
1920
1921 - `"managed-agents-2026-04-01"`
1922
1923 - `"dreaming-2026-04-21"`
1924
1925 - `"thinking-token-count-2026-05-13"`
1926
1927 - `"server-side-fallback-2026-06-01"`
1928
1929 - `"server-side-fallback-2026-07-01"`
1930
1931 - `"fallback-credit-2026-06-01"`
1932
1933 - `"fallback-credit-2026-07-01"`
1934
1935 - `"agent-memory-2026-07-22"`
1936
1937 - `"mid-conversation-tool-changes-2026-07-01"`
1938
1939 - `"compact-2026-01-12"`
1940
1941 - `"computer-use-2025-11-24"`
1942
1943 - `"mcp-tunnels-2026-06-22"`
1944
1945 - `"structured-outputs-2025-11-13"`
1946
1947 - `"task-budgets-2026-03-13"`
1948
1949 - `"thinking-display-updates-2026-08-18"`
1950
1951 - `"mid-conversation-output-config-2026-07-01"`
1952
1953 - `"thinking-binding-controls-2026-08-01"`
1954
1955 - `"mid-conversation-system-clear-at-2026-08-21"`
1956
1957 - `"compact-2026-09-04"`
1958
1959 - `"inline-tools-2026-09-15"`
1960
1961 - `"mcp-client-2026-09-15"`
1962
1963 - `"ce-plugins-2026-09-01"`
1964
1965 - `"spend-limit-reads-2026-09-26"`
1966
1967 - `"telemetry-destinations-2026-08-11"`
1968
1969 - `"webhooks-2026-10-07"`
1970
1971 - `"admin-user-sign-out-2026-10-08"`
1972
1973 - `"message-threads-2026-08-12"`
1974
1975 - `"analytics-usage-cost-2026-08-24"`
1976
1977 - `"experimental-claude-tag-2026-10-21"`
1978
1979 - `"ce-claude-code-managed-settings-2026-10-06"`
1980
1981 - `"efs-2026-10-01"`
1982
1983 - `"user-profiles-billing-2026-10-01"`
1984
1985 - `"message-batches-2024-09-24"`
1986
1987 **Deprecated**: This value is no longer needed. Remove it from your requests.
1988
1989 - `"prompt-caching-2024-07-31"`
1990
1991 **Deprecated**: This value is no longer needed. Remove it from your requests.
1992
1993 - `"pdfs-2024-09-25"`
1994
1995 **Deprecated**: This value is no longer needed. Remove it from your requests.
1996
1997 - `"token-counting-2024-11-01"`
1998
1999 **Deprecated**: This value is no longer needed. Remove it from your requests.
2000
2001 - `"token-efficient-tools-2025-02-19"`
2002
2003 **Deprecated**: This value is no longer needed. Remove it from your requests.
2004
2005 - `"files-api-2025-04-14"`
2006
2007 **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
2008
2009 - `"extended-cache-ttl-2025-04-11"`
2010
2011 **Deprecated**: This value is no longer needed. Remove it from your requests.
2012
2013 - `"skills-2025-10-02"`
2014
2015 **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
2016
2017 - `"cache-diagnosis-2026-04-07"`
2018
2019 **Deprecated**: This value is no longer needed. Remove it from your requests.
2020
2021 - `"ce-user-management-2026-07-13"`
2022
2023 **Deprecated**: This value is no longer needed. Remove it from your requests.
10382024
10392025### Returns
10402026
from line 2123
11372123
11382124 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.
11392125
2126 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
2127
2128 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.
2129
2130 - `human_review: optional BetaAnthropicHumanReview`
2131
2132 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`.
2133
2134 - `type: "disabled" or "enabled"`
2135
2136 - `"disabled"`
2137
2138 - `"enabled"`
2139
2140 - `safeguards_storage: optional BetaStorageMember`
2141
2142 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.
2143
2144 - `BetaInternalStorage object`
2145
2146 No External Storage for this purpose.
2147
2148 - `type: "internal"`
2149
2150 default: internal
2151
2152 - `BetaExternalStorageMember object`
2153
2154 The organization's External Storage that `external_storage_id` names.
2155
2156 - `type: "external"`
2157
2158 default: external
2159
2160 - `external_storage_id: string`
2161
2162 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.
2163
2164 - `transcripts_storage: optional BetaStorageMember`
2165
2166 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.
2167
11402168### Errors
11412169
11422170Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
from line 2174
11462174- `sandbox_egress_restricted` (HTTP status 403)
11472175
11482176 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.
2177
2178- `storage_attached_during_archive` (HTTP status 409)
2179
2180 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.
11492181
11502182### Example
11512183
from line 2209
11772209 "team": "platform"
11782210 },
11792211 "type": "workspace",
1180 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
2212 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK",
2213 "inference_data_privacy": {
2214 "human_review": {
2215 "type": "disabled"
2216 },
2217 "safeguards_storage": {
2218 "type": "internal"
2219 },
2220 "transcripts_storage": {
2221 "type": "internal"
2222 }
2223 }
11812224}
11822225```
11832226
from line 2234
11912234
11922235 - `"us"`
11932236
2237### Beta Anthropic Human Review
2238
2239- `BetaAnthropicHumanReview object`
2240
2241 The Workspace's human review setting.
2242
2243 - `type: "disabled" or "enabled"`
2244
2245 - `"disabled"`
2246
2247 - `"enabled"`
2248
2249### Beta Anthropic Human Review Param
2250
2251- `BetaAnthropicHumanReviewParam object`
2252
2253 Whether Anthropic's human review applies to the Workspace's inference
2254 data.
2255
2256 - `type: "disabled" or "enabled"`
2257
2258 - `"disabled"`
2259
2260 - `"enabled"`
2261
11942262### Beta Data Residency
11952263
11962264- `BetaDataResidency object`
from line 2339
12712339
12722340 - `"us"`
12732341
2342### Beta External Storage Member
2343
2344- `BetaExternalStorageMember object`
2345
2346 The organization's External Storage that `external_storage_id` names.
2347
2348 - `type: "external"`
2349
2350 default: external
2351
2352 - `external_storage_id: string`
2353
2354 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.
2355
2356### Beta External Storage Member Param
2357
2358- `BetaExternalStorageMemberParam object`
2359
2360 The organization's External Storage that `external_storage_id` names.
2361
2362 - `type: "external"`
2363
2364 - `external_storage_id: string`
2365
2366 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.
2367
2368### Beta Human Review On With External Storage Error Details
2369
2370- `BetaHumanReviewOnWithExternalStorageErrorDetails object`
2371
2372 - `error_code: "human_review_on_with_external_storage"`
2373
2374### Beta Inference Data Privacy
2375
2376- `BetaInferenceDataPrivacy object`
2377
2378 - `human_review: optional BetaAnthropicHumanReview`
2379
2380 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`.
2381
2382 - `type: "disabled" or "enabled"`
2383
2384 - `"disabled"`
2385
2386 - `"enabled"`
2387
2388 - `safeguards_storage: optional BetaStorageMember`
2389
2390 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.
2391
2392 - `BetaInternalStorage object`
2393
2394 No External Storage for this purpose.
2395
2396 - `type: "internal"`
2397
2398 default: internal
2399
2400 - `BetaExternalStorageMember object`
2401
2402 The organization's External Storage that `external_storage_id` names.
2403
2404 - `type: "external"`
2405
2406 default: external
2407
2408 - `external_storage_id: string`
2409
2410 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.
2411
2412 - `transcripts_storage: optional BetaStorageMember`
2413
2414 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.
2415
2416### Beta Inference Data Privacy Create Param
2417
2418- `BetaInferenceDataPrivacyCreateParam object`
2419
2420 Where the Workspace's retained inference data and transcript copies go, and
2421 whether Anthropic's human review applies. A member cannot be null; omit it
2422 instead.
2423
2424 - `human_review: optional BetaAnthropicHumanReviewParam`
2425
2426 Whether Anthropic's human review applies to the Workspace. `disabled` needs Anthropic's approval. When omitted, `enabled`. Cannot be null.
2427
2428 - `type: "disabled" or "enabled"`
2429
2430 - `"disabled"`
2431
2432 - `"enabled"`
2433
2434 - `safeguards_storage: optional BetaStorageMemberParam`
2435
2436 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.
2437
2438 - `BetaInternalStorageParam object`
2439
2440 No External Storage for this purpose.
2441
2442 - `type: "internal"`
2443
2444 - `BetaExternalStorageMemberParam object`
2445
2446 The organization's External Storage that `external_storage_id` names.
2447
2448 - `type: "external"`
2449
2450 - `external_storage_id: string`
2451
2452 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.
2453
2454 - `transcripts_storage: optional BetaStorageMemberParam`
2455
2456 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.
2457
2458### Beta Inference Data Privacy Update Param
2459
2460- `BetaInferenceDataPrivacyUpdateParam object`
2461
2462 Changes to where the Workspace's retained inference data and transcript
2463 copies go, and to whether Anthropic's human review applies. An omitted member
2464 is unchanged; a member cannot be null.
2465
2466 - `human_review: optional BetaAnthropicHumanReviewParam`
2467
2468 Whether Anthropic's human review applies to the Workspace from now on. `disabled` needs Anthropic's approval. When omitted, unchanged. Cannot be null.
2469
2470 - `type: "disabled" or "enabled"`
2471
2472 - `"disabled"`
2473
2474 - `"enabled"`
2475
2476 - `safeguards_storage: optional BetaStorageMemberParam`
2477
2478 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.
2479
2480 - `BetaInternalStorageParam object`
2481
2482 No External Storage for this purpose.
2483
2484 - `type: "internal"`
2485
2486 - `BetaExternalStorageMemberParam object`
2487
2488 The organization's External Storage that `external_storage_id` names.
2489
2490 - `type: "external"`
2491
2492 - `external_storage_id: string`
2493
2494 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.
2495
2496 - `transcripts_storage: optional BetaStorageMemberParam`
2497
2498 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.
2499
2500### Beta Internal Storage
2501
2502- `BetaInternalStorage object`
2503
2504 No External Storage for this purpose.
2505
2506 - `type: "internal"`
2507
2508 default: internal
2509
2510### Beta Internal Storage Param
2511
2512- `BetaInternalStorageParam object`
2513
2514 No External Storage for this purpose.
2515
2516 - `type: "internal"`
2517
12742518### Beta No Billing Workspace Role
12752519
12762520- `BetaNoBillingWorkspaceRole = "workspace_admin" or "workspace_developer" or "workspace_restricted_developer" or "workspace_user"`
from line 2526
12822526 - `"workspace_restricted_developer"`
12832527
12842528 - `"workspace_user"`
2529
2530### Beta Storage Member
2531
2532- `BetaStorageMember = BetaInternalStorage or BetaExternalStorageMember`
2533
2534 - `BetaInternalStorage object`
2535
2536 No External Storage for this purpose.
2537
2538 - `type: "internal"`
2539
2540 default: internal
2541
2542 - `BetaExternalStorageMember object`
2543
2544 The organization's External Storage that `external_storage_id` names.
2545
2546 - `type: "external"`
2547
2548 default: external
2549
2550 - `external_storage_id: string`
2551
2552 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.
2553
2554### Beta Storage Member Param
2555
2556- `BetaStorageMemberParam = BetaInternalStorageParam or BetaExternalStorageMemberParam`
2557
2558 - `BetaInternalStorageParam object`
2559
2560 No External Storage for this purpose.
2561
2562 - `type: "internal"`
2563
2564 - `BetaExternalStorageMemberParam object`
2565
2566 The organization's External Storage that `external_storage_id` names.
2567
2568 - `type: "external"`
2569
2570 - `external_storage_id: string`
2571
2572 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.
2573
2574### Beta Transcripts Storage Required Error Details
2575
2576- `BetaTranscriptsStorageRequiredErrorDetails object`
2577
2578 - `error_code: "transcripts_storage_required"`
12852579
12862580### Beta Workspace
12872581
from line 2678
13842678
13852679 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.
13862680
2681 - `inference_data_privacy: optional BetaInferenceDataPrivacy`
2682
2683 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.
2684
2685 - `human_review: optional BetaAnthropicHumanReview`
2686
2687 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`.
2688
2689 - `type: "disabled" or "enabled"`
2690
2691 - `"disabled"`
2692
2693 - `"enabled"`
2694
2695 - `safeguards_storage: optional BetaStorageMember`
2696
2697 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.
2698
2699 - `BetaInternalStorage object`
2700
2701 No External Storage for this purpose.
2702
2703 - `type: "internal"`
2704
2705 default: internal
2706
2707 - `BetaExternalStorageMember object`
2708
2709 The organization's External Storage that `external_storage_id` names.
2710
2711 - `type: "external"`
2712
2713 default: external
2714
2715 - `external_storage_id: string`
2716
2717 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.
2718
2719 - `transcripts_storage: optional BetaStorageMember`
2720
2721 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.
2722
2723### Beta Workspace Changed Concurrently Error Details
2724
2725- `BetaWorkspaceChangedConcurrentlyErrorDetails object`
2726
2727 - `error_code: "workspace_changed_concurrently"`
2728
2729 - `field: BetaWorkspaceChangedConcurrentlyField`
2730
2731 The request field whose change was refused. Other values may be returned. The value is a name with no data of its own.
2732
2733### Beta Workspace Changed Concurrently Field
2734
2735- `BetaWorkspaceChangedConcurrentlyField = "inference_data_privacy.human_review"`
2736
13872737### Beta Workspace Member
13882738
13892739- `BetaWorkspaceMember object`
from line 2781
14312781 - `"workspace_restricted_developer"`
14322782
14332783 - `"workspace_user"`
2784
2785## Errors
2786
2787### human_review_on_with_external_storage
2788
2789HTTP status 400
2790
2791- `"human_review_on_with_external_storage"`
2792
2793 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`.
2794
2795 - `details: BetaHumanReviewOnWithExternalStorageErrorDetails`
2796
2797 - `error_code: "human_review_on_with_external_storage"`
2798
2799### transcripts_storage_required
2800
2801HTTP status 400
2802
2803- `"transcripts_storage_required"`
2804
2805 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.
2806
2807 - `details: BetaTranscriptsStorageRequiredErrorDetails`
2808
2809 - `error_code: "transcripts_storage_required"`
2810
2811### workspace_changed_concurrently
2812
2813HTTP status 409
2814
2815- `"workspace_changed_concurrently"`
2816
2817 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.
2818
2819 - `details: BetaWorkspaceChangedConcurrentlyErrorDetails`
2820
2821 - `error_code: "workspace_changed_concurrently"`
2822
2823 - `field: BetaWorkspaceChangedConcurrentlyField`
2824
2825 The request field whose change was refused. Other values may be returned. The value is a name with no data of its own.
14342826
14352827## Workspaces › Rate Limits
14362828
from line 3964
25723964
25733965 - `"ce-claude-code-managed-settings-2026-10-06"`
25743966
3967 - `"efs-2026-10-01"`
3968
25753969 - `"user-profiles-billing-2026-10-01"`
25763970
25773971 - `"message-batches-2024-09-24"`
from line 4207
28134207
28144208 - `"ce-claude-code-managed-settings-2026-10-06"`
28154209
4210 - `"efs-2026-10-01"`
4211
28164212 - `"user-profiles-billing-2026-10-01"`
28174213
28184214 - `"message-batches-2024-09-24"`
from line 4476
30804476
30814477 - `"ce-claude-code-managed-settings-2026-10-06"`
30824478
4479 - `"efs-2026-10-01"`
4480
30834481 - `"user-profiles-billing-2026-10-01"`
30844482
30854483 - `"message-batches-2024-09-24"`
from line 4712
33144712
33154713 - `"ce-claude-code-managed-settings-2026-10-06"`
33164714
4715 - `"efs-2026-10-01"`
4716
33174717 - `"user-profiles-billing-2026-10-01"`
33184718
33194719 - `"message-batches-2024-09-24"`
from line 4975
35754975
35764976 - `"ce-claude-code-managed-settings-2026-10-06"`
35774977
4978 - `"efs-2026-10-01"`
4979
35784980 - `"user-profiles-billing-2026-10-01"`
35794981
35804982 - `"message-batches-2024-09-24"`
35814983