external-storage changedmanage-claude/enterprise-frontier-safeguards/external-storage
Nearest release: v2.1.331, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+475added
Lines−7removed
From line
66
where the diff opens
First seen
23 Nov 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 66, old and new numbered
/
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 66
6666
6767### Authenticate your requests
6868
69Every request on this page sends `anthropic-version: 2026-10-21` and `anthropic-beta: efs-2026-10-01`. Send one of these credentials with each request:
70
71* **An OAuth bearer token with the `org:admin` scope:** Every request on this page takes one in the `authorization: Bearer` header. To get one, see [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token). The examples read it from `$ANTHROPIC_AUTH_TOKEN`. The token is short-lived: if a request returns a 401 error, get a new one.
72* **A personal key or service account key:** Every request on this page takes one in `x-api-key`. Use a key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). The Admin API refuses a key that’s scoped to a workspace, even for requests on that workspace.
73* **An Admin API key:** It can’t attach or detach storage: those requests return a permission error. The External Storage requests take one in `x-api-key`. To get one, see [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys).
74
75For a token or a personal or service account key, the account must have the admin role. To use a key, replace the `authorization` header in each example with `x-api-key: $ANTHROPIC_API_KEY`.
69<Tabs>
70 <Tab title="cURL">
71 Every request on this page sends `anthropic-version: 2026-10-21` and `anthropic-beta: efs-2026-10-01`. Send one of these credentials with each request:
72
73 * **An OAuth bearer token with the `org:admin` scope:** Every request on this page takes one in the `authorization: Bearer` header. To get one, see [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token). The examples read it from `$ANTHROPIC_AUTH_TOKEN`. The token is short-lived: if a request returns a 401 error, get a new one.
74 * **A personal key or service account key:** Every request on this page takes one in `x-api-key`. Use a key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). The Admin API refuses a key that’s scoped to a workspace, even for requests on that workspace.
75 * **An Admin API key:** It can’t attach or detach storage: those requests return a permission error. The External Storage requests take one in `x-api-key`. To get one, see [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys).
76
77 For a token or a personal or service account key, the account must have the admin role. To use a key, replace the `authorization` header in each example with `x-api-key: $ANTHROPIC_API_KEY`.
78 </Tab>
79
80 <Tab title="CLI">
81 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
82
83 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the `ant` CLI sends the key. The token is short-lived: if a request returns a 401 error, get a new one. Leave `ANTHROPIC_WORKSPACE_ID` unset: with it set, a key gets a 400 error on these requests.
84
85 The CLI sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` with `--beta` yourself, as the attach and detach examples show.
86
87 When the API refuses a request, the CLI prints the whole response body. Look there for `error.details.error_code`.
88 </Tab>
89
90 <Tab title="Python">
91 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
92
93 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
94
95 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
96
97 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
98 </Tab>
99
100 <Tab title="TypeScript">
101 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
102
103 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
104
105 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
106
107 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
108 </Tab>
109
110 <Tab title="C#">
111 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
112
113 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
114
115 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
116
117 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
118 </Tab>
119
120 <Tab title="Go">
121 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
122
123 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
124
125 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
126
127 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
128 </Tab>
129
130 <Tab title="Java">
131 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
132
133 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
134
135 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
136
137 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
138 </Tab>
139
140 <Tab title="PHP">
141 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
142
143 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
144
145 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
146
147 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
148 </Tab>
149
150 <Tab title="Ruby">
151 Use one credential for every request on this page. Use an [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bearer-token) with the `org:admin` scope. Or use a personal key or service account key that isn’t scoped to a workspace (see [Key types](https://platform.claude.com/docs/en/manage-claude/authentication#key-types)). Either way, the account must have the admin role. Don’t use an Admin API key: it can’t attach or detach storage.
152
153 Set `ANTHROPIC_AUTH_TOKEN` to the token or `ANTHROPIC_API_KEY` to the key. Set only one: with both set, the SDK sends the key. The token is short-lived: if a request returns a 401 error, get a new one.
154
155 The SDK sends your credential and the `anthropic-version` header for you. On the External Storage requests, it also sends `anthropic-beta: efs-2026-10-01`. On workspace requests that set `inference_data_privacy`, it doesn’t, so pass `efs-2026-10-01` to the SDK yourself, as the attach and detach examples show.
156
157 When the API refuses a request, the SDK call fails with an error whose text holds the whole response body. Look there for `error.details.error_code`.
158 </Tab>
159</Tabs>
76160
77161## Register your bucket
78162
from line 180
96180 "region": "us-east-2"
97181 }
98182 }'
183 ```
184
185 ```bash CLI
186 ant beta:organization:external-storage create \
187 --display-name "Claude retention" \
188 --provider-config '{type: aws, account_id: "111122223333", bucket_name: acme-claude-retention, region: us-east-2}'
189 ```
190
191 ```python Python
192 client = anthropic.Anthropic()
193
194 storage = client.beta.organization.external_storage.create(
195 display_name="Claude retention",
196 provider_config={
197 "type": "aws",
198 "account_id": "111122223333",
199 "bucket_name": "acme-claude-retention",
200 "region": "us-east-2",
201 },
202 )
203
204 print(f"id: {storage.id}")
205 print(f"status: {storage.status.type}")
206 ```
207
208 ```typescript TypeScript
209 const client = new Anthropic();
210
211 const storage = await client.beta.organization.externalStorage.create({
212 display_name: "Claude retention",
213 provider_config: {
214 type: "aws",
215 account_id: "111122223333",
216 bucket_name: "acme-claude-retention",
217 region: "us-east-2"
218 }
219 });
220
221 console.log(`id: ${storage.id}`);
222 console.log(`status: ${storage.status.type}`);
223 ```
224
225 ```csharp C#
226 using Anthropic.Models.Beta.Organization.ExternalStorage;
227
228 AnthropicClient client = new();
229
230 var storage = await client.Beta.Organization.ExternalStorage.Create(new()
231 {
232 DisplayName = "Claude retention",
233 ProviderConfig = new BetaAwsExternalStorageConfigParam
234 {
235 AccountID = "111122223333",
236 BucketName = "acme-claude-retention",
237 Region = "us-east-2",
238 },
239 });
240
241 Console.WriteLine($"id: {storage.ID}");
242 Console.WriteLine($"status: {storage.Status.Type.Raw()}");
243 ```
244
245 ```go Go
246 client := anthropic.NewClient()
247
248 storage, err := client.Beta.Organization.ExternalStorage.New(
249 context.Background(),
250 anthropic.BetaOrganizationExternalStorageNewParams{
251 DisplayName: anthropic.String("Claude retention"),
252 ProviderConfig: anthropic.BetaOrganizationExternalStorageNewParamsProviderConfigUnion{
253 OfAWS: &anthropic.BetaAWSExternalStorageConfigParam{
254 AccountID: "111122223333",
255 BucketName: "acme-claude-retention",
256 Region: "us-east-2",
257 },
258 },
259 },
260 )
261 if err != nil {
262 log.Fatal(err)
263 }
264
265 fmt.Printf("id: %s\n", storage.ID)
266 fmt.Printf("status: %s\n", storage.Status.Type)
267 ```
268
269 ```java Java
270 import com.anthropic.models.beta.organization.externalstorage.BetaAwsExternalStorageConfigParam;
271 import com.anthropic.models.beta.organization.externalstorage.ExternalStorageCreateParams;
272
273 void main() {
274 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
275
276 var params = ExternalStorageCreateParams.builder()
277 .displayName("Claude retention")
278 .providerConfig(BetaAwsExternalStorageConfigParam.builder()
279 .accountId("111122223333")
280 .bucketName("acme-claude-retention")
281 .region("us-east-2")
282 .build())
283 .build();
284 var storage = client.beta().organization().externalStorage().create(params);
285
286 IO.println("id: " + storage.id());
287 IO.println("status: " + storage.status().type());
288 }
289 ```
290
291 ```php PHP
292 $client = new Client();
293
294 $storage = $client->beta->organization->externalStorage->create(
295 displayName: 'Claude retention',
296 providerConfig: [
297 'type' => 'aws',
298 'accountID' => '111122223333',
299 'bucketName' => 'acme-claude-retention',
300 'region' => 'us-east-2',
301 ],
302 );
303
304 echo "id: {$storage->id}\n";
305 echo "status: {$storage->status->type}\n";
306 ```
307
308 ```ruby Ruby
309 client = Anthropic::Client.new
310
311 storage = client.beta.organization.external_storage.create(
312 display_name: "Claude retention",
313 provider_config: {
314 type: :aws,
315 account_id: "111122223333",
316 bucket_name: "acme-claude-retention",
317 region: "us-east-2"
318 }
319 )
320
321 puts "id: #{storage.id}"
322 puts "status: #{storage.status.type}"
99323 ```
100324</CodeGroup>
101325
from line 600
376600 -H "anthropic-version: 2026-10-21" \
377601 -H "anthropic-beta: efs-2026-10-01"
378602 ```
603
604 ```bash CLI
605 ant beta:organization:external-storage activate \
606 --external-storage-id estrg_01SDCCSbTxrXDpWc1phhtcfK
607 ```
608
609 ```python Python
610 client = anthropic.Anthropic()
611
612 storage = client.beta.organization.external_storage.activate(
613 "estrg_01SDCCSbTxrXDpWc1phhtcfK"
614 )
615
616 print(f"status: {storage.status.type}")
617 ```
618
619 ```typescript TypeScript
620 const client = new Anthropic();
621
622 const storage = await client.beta.organization.externalStorage.activate(
623 "estrg_01SDCCSbTxrXDpWc1phhtcfK"
624 );
625
626 console.log(`status: ${storage.status.type}`);
627 ```
628
629 ```csharp C#
630 AnthropicClient client = new();
631
632 var storage = await client.Beta.Organization.ExternalStorage.Activate(
633 "estrg_01SDCCSbTxrXDpWc1phhtcfK"
634 );
635
636 Console.WriteLine($"status: {storage.Status.Type.Raw()}");
637 ```
638
639 ```go Go
640 client := anthropic.NewClient()
641
642 storage, err := client.Beta.Organization.ExternalStorage.Activate(
643 context.Background(),
644 "estrg_01SDCCSbTxrXDpWc1phhtcfK",
645 anthropic.BetaOrganizationExternalStorageActivateParams{},
646 )
647 if err != nil {
648 log.Fatal(err)
649 }
650
651 fmt.Printf("status: %s\n", storage.Status.Type)
652 ```
653
654 ```java Java
655 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
656
657 var storage = client.beta().organization().externalStorage()
658 .activate("estrg_01SDCCSbTxrXDpWc1phhtcfK");
659
660 IO.println("status: " + storage.status().type());
661 ```
662
663 ```php PHP
664 $client = new Client();
665
666 $storage = $client->beta->organization->externalStorage->activate(
667 externalStorageID: 'estrg_01SDCCSbTxrXDpWc1phhtcfK',
668 );
669
670 echo "status: {$storage->status->type}\n";
671 ```
672
673 ```ruby Ruby
674 client = Anthropic::Client.new
675
676 storage = client.beta.organization.external_storage.activate("estrg_01SDCCSbTxrXDpWc1phhtcfK")
677
678 puts "status: #{storage.status.type}"
679 ```
379680</CodeGroup>
380681
381682Anthropic checks your bucket, its KMS key, and the roles for Sealed Safety Data while the request runs. If everything passes, the status becomes `available` and your bucket is ready to attach. If a check fails, see [Troubleshooting on Manage customer-owned storage](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#api-troubleshooting).
from line 740
439740 }
440741 }'
441742 ```
743
744 ```bash CLI
745 ant beta:organization:workspaces update \
746 --workspace-id wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ \
747 --beta efs-2026-10-01 <<YAML
748 inference_data_privacy:
749 safeguards_storage:
750 type: external
751 external_storage_id: estrg_01SDCCSbTxrXDpWc1phhtcfK
752 human_review:
753 type: disabled
754 YAML
755 ```
756
757 ```python Python
758 client = anthropic.Anthropic()
759
760 workspace = client.beta.organization.workspaces.update(
761 "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
762 inference_data_privacy={
763 "safeguards_storage": {
764 "type": "external",
765 "external_storage_id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
766 },
767 "human_review": {"type": "disabled"},
768 },
769 betas=["efs-2026-10-01"],
770 )
771
772 privacy = workspace.inference_data_privacy
773 if privacy and privacy.safeguards_storage:
774 print(f"safeguards_storage: {privacy.safeguards_storage.type}")
775 ```
776
777 ```typescript TypeScript
778 const client = new Anthropic();
779
780 const workspace = await client.beta.organization.workspaces.update(
781 "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
782 {
783 inference_data_privacy: {
784 safeguards_storage: {
785 type: "external",
786 external_storage_id: "estrg_01SDCCSbTxrXDpWc1phhtcfK"
787 },
788 human_review: { type: "disabled" }
789 },
790 betas: ["efs-2026-10-01"]
791 }
792 );
793
794 const type = workspace.inference_data_privacy?.safeguards_storage?.type;
795 console.log(`safeguards_storage: ${type}`);
796 ```
797
798 ```csharp C#
799 using Anthropic.Models.Beta.Organization.Workspaces;
800
801 AnthropicClient client = new();
802
803 var workspace = await client.Beta.Organization.Workspaces.Update(
804 "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
805 new()
806 {
807 InferenceDataPrivacy = new()
808 {
809 SafeguardsStorage = new BetaExternalStorageMemberParam
810 {
811 ExternalStorageID = "estrg_01SDCCSbTxrXDpWc1phhtcfK",
812 },
813 HumanReview = new() { Type = BetaAnthropicHumanReviewParamType.Disabled },
814 },
815 Betas = ["efs-2026-10-01"],
816 }
817 );
818
819 var type = workspace.InferenceDataPrivacy?.SafeguardsStorage?.Type.Raw();
820 Console.WriteLine($"safeguards_storage: {type}");
821 ```
822
823 ```go Go
824 client := anthropic.NewClient()
825
826 workspace, err := client.Beta.Organization.Workspaces.Update(
827 context.Background(),
828 "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
829 anthropic.BetaOrganizationWorkspaceUpdateParams{
830 InferenceDataPrivacy: anthropic.BetaInferenceDataPrivacyUpdateParam{
831 SafeguardsStorage: anthropic.BetaStorageMemberParamOfExternal("estrg_01SDCCSbTxrXDpWc1phhtcfK"),
832 HumanReview: anthropic.BetaAnthropicHumanReviewParam{
833 Type: anthropic.BetaAnthropicHumanReviewParamTypeDisabled,
834 },
835 },
836 Betas: []anthropic.AnthropicBeta{"efs-2026-10-01"},
837 },
838 )
839 if err != nil {
840 log.Fatal(err)
841 }
842
843 fmt.Printf("safeguards_storage: %s\n", workspace.InferenceDataPrivacy.SafeguardsStorage.Type)
844 ```
845
846 ```java Java
847 import com.anthropic.models.beta.organization.workspaces.BetaAnthropicHumanReviewParam;
848 import com.anthropic.models.beta.organization.workspaces.BetaInferenceDataPrivacyUpdateParam;
849 import com.anthropic.models.beta.organization.workspaces.WorkspaceUpdateParams;
850
851 void main() {
852 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
853
854 var params = WorkspaceUpdateParams.builder()
855 .inferenceDataPrivacy(BetaInferenceDataPrivacyUpdateParam.builder()
856 .externalSafeguardsStorage("estrg_01SDCCSbTxrXDpWc1phhtcfK")
857 .humanReview(BetaAnthropicHumanReviewParam.builder()
858 .type(BetaAnthropicHumanReviewParam.Type.DISABLED)
859 .build())
860 .build())
861 .addBeta("efs-2026-10-01")
862 .build();
863 var workspace = client.beta().organization().workspaces()
864 .update("wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ", params);
865
866 IO.println("safeguards_storage: " + workspace.inferenceDataPrivacy()
867 .flatMap(privacy -> privacy.safeguardsStorage())
868 .map(storage -> storage.type().asString())
869 .orElse(null));
870 }
871 ```
872
873 ```php PHP
874 $client = new Client();
875
876 $workspace = $client->beta->organization->workspaces->update(
877 workspaceID: 'wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ',
878 inferenceDataPrivacy: [
879 'safeguardsStorage' => [
880 'type' => 'external',
881 'externalStorageID' => 'estrg_01SDCCSbTxrXDpWc1phhtcfK',
882 ],
883 'humanReview' => ['type' => 'disabled'],
884 ],
885 betas: ['efs-2026-10-01'],
886 );
887
888 echo "safeguards_storage: {$workspace->inferenceDataPrivacy?->safeguardsStorage?->type}\n";
889 ```
890
891 ```ruby Ruby
892 client = Anthropic::Client.new
893
894 workspace = client.beta.organization.workspaces.update(
895 "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
896 inference_data_privacy: {
897 safeguards_storage: {
898 type: :external,
899 external_storage_id: "estrg_01SDCCSbTxrXDpWc1phhtcfK"
900 },
901 human_review: {
902 type: :disabled
903 }
904 },
905 betas: ["efs-2026-10-01"]
906 )
907
908 puts "safeguards_storage: #{workspace.inference_data_privacy&.safeguards_storage&.type}"
909 ```
442910</CodeGroup>
443911
444912When the request succeeds, your bucket’s status becomes `active`. The example request also sets `inference_data_privacy.human_review` to type `disabled`, because in the Admin API an attach alone doesn’t turn [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) off. With Enterprise Frontier Safeguards (EFS), Anthropic Human Review is always off and your own team reviews the workspace’s [Safety Cases](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/flagged-cases).
445913
No line in this hunk matches that.