Manage customer-owned storage
Check your bucket’s status, fix the bucket if it stops working, and change or stop using it.
Use this page after a workspace uses customer-owned storage with Enterprise Frontier Safeguards (EFS). It covers how to check your bucket’s status, fix the bucket if it stops working, and change or stop using it.
Bucket statuses
Find each bucket’s status under Storage destinations on the Data retention page in the Claude Console, with Organization selected at the top:
| Status | Meaning |
|---|---|
| Needs setup | Test setupTest setup hasn’t passed. |
| Ready | Your bucket passed Test setup, and no workspace uses it. |
| Active | A workspace is set to use it. |
| Failed last check | The most recent check didn’t pass. See If your bucket stops working. |
| Draining | No workspace uses it now, but one did. Keep your bucket, and Anthropic’s access to it.Keep your bucket, and Anthropic’s access to it. |
| Deleting | Anthropic is finishing a delete of this storage destination.Anthropic is finishing a delete of this storage destination. You can’t use it. |
Anthropic checks a bucket before a workspace first uses it. Once a day, Anthropic also checks each bucket that a workspace uses or that shows as Draining. The daily check can pass while your bucket’s IAM roles for Transcripts and Safety Cases fail.
If the daily check is inconclusive, the status and the last-checked time don’t change, even if your bucket has stopped working. A Draining bucket stays Draining even if it fails the check.
If a check fails, even for a Draining bucket, Anthropic usually emails the members of your organization who can manage encryption keys. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, Anthropic instead usually emails the person who completed your organization’s setup.
Check your bucket
These Admin API requests use the credentials in Authenticate your requests on Set up customer-owned storage.
Get one bucket to see its status:
curl https://api.anthropic.com/v1/organizations/external_storage/estrg_01SDCCSbTxrXDpWc1phhtcfK \
-H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
-H "anthropic-version: 2026-10-21" \
-H "anthropic-beta: efs-2026-10-01"To list all your buckets, call GET /v1/organizations/external_storage. Results come newest first, 20 per page, or up to 1,000 per page if you pass ?limit=. To get the next page, pass the response’s next_page as ?page=.
status.type tells you where your bucket is in its lifecycle. Each value matches a status the Claude Console shows under Bucket statuses:
| API status | Console status | Meaning |
|---|---|---|
pending_configuration | Needs setup | Registered, not yet activated. |
available | Ready | Activated, and no workspace uses it. |
active | Active | At least one workspace is set to use it. |
draining | Draining | No workspace uses it now, but at least one did before. Keep your bucket, and Anthropic’s access to it, as Change or stop using your bucket describes. |
For available, active, and draining, status also has two fields. healthy says whether your bucket passed its latest check, and last_checked_at says when that check ran. For draining, it also has removal_started, which is true once a delete has begun. The Claude Console then shows Deleting. For available and active, a healthy value of false shows as Failed last check in the Claude Console. See If your bucket stops working.
healthy and last_checked_at are set when your bucket is activated, and when it passes Anthropic’s check before it’s attached as safeguards_storage. On Claude Platform, the daily check also sets them when it reaches a result (see Bucket statuses). If a day’s check reaches no result, they stay as they were, so healthy can stay true even if your bucket stops working. Don’t rely on these fields alone. To notice a failure, watch for new objects under slab/ or safeguards-data/slab/ while you send requests.
If your bucket stops working
To fix a bucket that stops working, check your bucket’s status, then restore your bucket or its IAM roles as this section describes.
If you selected your storage destination for a workspace in the last few hours and nothing has arrived under slab/ or safeguards-data/slab/, the change might not have taken effect.
While Anthropic can’t write to a bucket that holds Sealed Safety Data, the following happens:
- Requests: Requests keep working during a grace period of up to 24 hours. After that, Anthropic might refuse requests to the workspace.
- Your Sealed Safety Data: Anthropic retries writes for a limited time. It doesn’t send the data to Anthropic-managed storage instead.
To avoid losing data, keep the following in mind:
- To notice a failure, watch for new objects under
slab/orsafeguards-data/slab/while you send requests. Don’t wait for an email about a failure, and don’t rely on your bucket’s status alone. - Restore your bucket as soon as you can. If Anthropic can’t write to your bucket for more than about an hour, tell your Anthropic account team at once, and again when your bucket works. After you restore your bucket, Anthropic has to run a recovery, which isn’t guaranteed to succeed.
- On Claude Platform, about 72 hours after Sealed Safety Data was sent, Anthropic deletes whatever it hasn’t recovered. On Claude Platform on AWS, the time can be shorter, so tell your Anthropic account team as soon as you notice a failure.
How you restore your bucket depends on what changed:
- The IAM roles: If something removed Anthropic’s access to your bucket, restore the roles exactly as they were.
- CloudFormation: Don’t delete or update your stack, and don’t create a second stack for this bucket. Instead, contact your Anthropic account team at once.
- Terraform: Run the apply command from the header of your bucket’s Terraform file again, in the same folder as before, with the same region and values. If you don’t have the folder, contact your Anthropic account team at once.
- Your own tooling: Create the roles again with the same names, and with the trust policies and permissions in the file from the Connect storage dialog. If you didn’t keep that file, contact your Anthropic account team.
- Your bucket’s KMS key, if someone disabled it: Enable it again.
- Your bucket’s KMS key, if someone scheduled its deletion: Cancel the deletion before the chosen waiting period of 7 to 30 days ends. Then, enable the key, because AWS leaves it disabled. After the waiting period, AWS KMS deletes the key, and nobody can read what it encrypted.
- An AWS organization policy: If a policy now keeps Anthropic out, add Anthropic’s AWS account to it.
- Your customer-managed key, if the workspace has one: Follow If your key stops working.
If your roles have fixed names, such as anthropic-efs-ingest, restore that same setup, as this list describes. Don’t move it to a different setup file. For reference, use the file you deployed.
Change or stop using your bucket
To move to a new bucket or to stop using your bucket, follow the steps in this section. Either way, keep your old bucket, and Anthropic’s access to it, until everything in your bucket is past the retention period and your bucket is no longer listed under Storage destinations. Some objects stay in your bucket after that.
Before you change or remove a workspace’s bucket, respond to its open Safety Cases and wait until they close. If you change or remove the bucket first, Anthropic might not read your response file.
While your bucket shows as Draining, keep the bucket, its versioning, its lifecycle rules, its KMS key, and its IAM roles in place. Draining doesn’t end by itself. It ends when you delete the storage destination or select the bucket for a workspace again. If you can’t delete it, talk to your Anthropic account team before you remove Anthropic’s access. On Claude Platform on AWS, you can’t delete a storage destination once a workspace has used it, so it keeps showing as Draining. Plan to keep your bucket and Anthropic’s access to it.
For as long as you keep your bucket, don’t disable its KMS key or schedule the key’s deletion. If you do, writes to your bucket and reads from it start to fail, so restore the key.
If you delete a bucket that a workspace has used, don’t create it again under the same name while its storage destination is listed. Set up a new bucket with a new name instead.
Change your bucket
To move your workspaces to a new bucket, follow these steps. To move to a Google Cloud Storage bucket instead, talk to your Anthropic account team, because Anthropic limits the number of buckets. On Claude Platform on AWS, ask your Anthropic account team before you change your bucket.
- Create and connect your new bucket. Create it with a stack of its own or, with Terraform, in a folder of its own. Don’t update your existing stack to point at a new bucket, or Anthropic loses access to your old bucket while it still holds your data.
- In each workspace that uses your old bucket, select your new bucket under Sealed Safety Data storage in the Claude Console. Don’t take your old bucket off the workspace first, or new Sealed Safety Data can go to Anthropic-managed storage. If the workspace also uses your old bucket under Safety Case and Transcript storage, select your new bucket under that setting too. Then, save.
At step 1, register and activate your new bucket. At step 2, send the attach request with your new bucket’s ID instead. If transcripts_storage names your old bucket, set it to the new bucket’s ID in the same request.
Stop using your bucket
To stop using your bucket, take it off each workspace first, and remove Anthropic’s access to your bucket last. A workspace that stops sending Sealed Safety Data to your bucket leaves EFS.
Take your bucket off each workspace
On the workspace’s Data retention page, select a card other than Enterprise Frontier Safeguards, and save. By default, the Anthropic managed card turns Anthropic Human Review back on. The Glossary describes each card.
To stop only Transcripts and Safety Cases, select Not copied to your storage under Safety Case and Transcript storage instead. If the bucket still receives Sealed Safety Data, don’t follow the rest of these steps.
Keep your bucket while it drains
Once you’ve taken it off every workspace, your bucket shows as Draining in Storage destinations. Keep your bucket, and Anthropic’s access to it, while the status is Draining. To end Draining, delete the storage destination. On Claude Platform on AWS, your bucket stays Draining, so plan to keep it and Anthropic’s access to it. Don’t do the next step until the delete finishes or your Anthropic account team tells you to. Transcripts and Safety Cases already in your bucket stay there until your bucket’s lifecycle rules expire them. See What’s in the bucket.
Remove Anthropic’s access
To remove Anthropic’s access, remove your bucket’s IAM roles with the tool you used to create them. After you remove Anthropic’s access, Sealed Safety Data stays in your bucket until you delete it.
Delete your bucket’s stack. The stack’s name is in your deploy command:
anthropic-storage-<RoleDigest>, oranthropic-storage-<organization ID>for a setup with fixed role names. Deleting the stack keeps your bucket and its key.Remove only your bucket’s roles and their policies, so that you keep your data. In the folder that holds your bucket’s Terraform file, run the removal command from the Terraform file’s header with the region and the values you used at setup.
Expect warnings about
-target. Check that every resource that the plan lists is anaws_iam_roleor anaws_iam_role_policy, then typeyes. A later apply creates the roles again.Delete that bucket’s IAM roles.
Stop using your bucket
These Admin API requests use the credentials in Authenticate your requests on Set up customer-owned storage.
To stop using your bucket, follow these steps in order:
- Detach your bucket from each workspace.
- Keep your bucket while it drains.
- Delete its External Storage.
- Remove Anthropic’s access.
To detach your bucket from a workspace, set each storage field that names your bucket to type internal. The fields are inference_data_privacy.safeguards_storage and inference_data_privacy.transcripts_storage, and you can set both in the same request. If you set safeguards_storage to type internal, the workspace switches to Anthropic-managed storage and comes off EFS. Anthropic might refuse a detach that leaves Anthropic Human Review off, so the following request also sets inference_data_privacy.human_review to type enabled, which turns Anthropic Human Review back on:
curl https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ \
-H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
-H "anthropic-version: 2026-10-21" \
-H "anthropic-beta: efs-2026-10-01" \
-H "content-type: application/json" \
-d '{
"inference_data_privacy": {
"safeguards_storage": {
"type": "internal"
},
"human_review": {
"type": "enabled"
}
}
}'If your organization’s policy requires customer-owned storage or requires Anthropic Human Review to be off, Anthropic refuses this request with workspace_policy_violation for a workspace that keeps Sealed Safety Data. Change the policy first, then send the request.
Like an attach, a detach doesn’t take effect right away.
After the last detach, your bucket’s status becomes draining. The status doesn’t leave draining by itself. It leaves when you attach the bucket again or delete its External Storage. Keep your bucket and Anthropic’s access to it until the delete finishes. If you can’t delete the External Storage, talk to your Anthropic account team before you remove Anthropic’s access. Delete a storage destination says who can delete it and what to do first.
Then, delete your bucket’s External Storage. The External Storage is Anthropic’s record of your bucket, not your bucket itself. What happens depends on your bucket’s status:
pending_configurationoravailable: Anthropic deletes the External Storage at once.active: Anthropic refuses the delete.draining: The first call returns a 400 error withexternal_storage_in_use. Get the External Storage. Ifstatus.removal_startedisfalse, the error’s message says what to do. If it’strue, you can’t undo the removal. Send the delete again every few minutes until it succeeds, which can take about 30 minutes. If it’s still refused after an hour, contact your Anthropic account team. A 503 error means that nothing changed, so try again later.
If your organization’s policy lists this bucket, Anthropic refuses the delete until you remove the bucket from the policy. Once a workspace has used your bucket, treat your bucket name, KMS key, and IAM roles as tied to your organization.
curl -X DELETE https://api.anthropic.com/v1/organizations/external_storage/estrg_01SDCCSbTxrXDpWc1phhtcfK \
-H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
-H "anthropic-version: 2026-10-21" \
-H "anthropic-beta: efs-2026-10-01"Remove Anthropic’s access
To remove Anthropic’s access, remove your bucket’s IAM roles with the tool you used to create them. After you remove Anthropic’s access, Sealed Safety Data stays in your bucket until you delete it. In a bucket that holds Transcripts and Safety Cases, the lifecycle rules keep expiring those files until you change the rules.
Delete your bucket’s stack. The stack’s name is in your deploy command: anthropic-storage-<RoleDigest>, or anthropic-storage-<organization ID> for a setup with fixed role names. Deleting the stack keeps your bucket and its key.
Remove only your bucket’s roles and their policies, so that you keep your data. In the folder that holds your bucket’s Terraform file, run the removal command from the Terraform file’s header with the region and the values you used at setup.
Expect warnings about -target. Check that every resource that the plan lists is an aws_iam_role or an aws_iam_role_policy, then type yes. A later apply creates the roles again.
terraform destroy without -target fails and destroys nothing, because the key, the bucket, its settings, and its bucket policy carry prevent_destroy.
Delete that bucket’s IAM roles.
Talk to your Anthropic account team before you move to a new bucket, because Anthropic limits the number of buckets.
Delete a storage destination
To end Anthropic’s use of a bucket that shows as Draining, delete its storage destination. On Claude Platform on AWS, you can’t delete a storage destination once a workspace has used it. On Claude Platform, you can delete one for an Amazon S3 bucket only if Anthropic’s records show that your organization uses Claude for internal tools alone. If you can’t delete it, talk to your Anthropic account team before you remove Anthropic’s access. You can’t undo a delete.
Before you delete it, do the following:
- Wait until
slab/andmedia/are empty, at the top of the bucket and undersafeguards-data/. Most of what’s there leaves by itself a few days after the retention period ends for the last data sent there. Don’t delete anything before then. You’d lose data, and Anthropic doesn’t warn you. If objects stay after that, delete them without a version ID. Old versions and delete markers count too, so wait for the lifecycle rules to clear them, at least 3 days after each delete. - Keep Anthropic’s access until the delete finishes, because Anthropic looks in the bucket first.
Under Storage destinations on the Data retention page, select Delete in the row’s menu. If the Claude Console refuses the delete, its message says why. If the row is still listed after a few minutes, select Finish deleting in its menu. If it’s still listed after an hour, contact your Anthropic account team. Once the row has gone, follow the last step of Stop using your bucket to remove Anthropic’s access. You can then delete your bucket.
Send the delete request, as Stop using your bucket describes. It takes more than one call. Once it succeeds, remove Anthropic’s access. You can then delete your bucket.
What removes data from your bucket
Anthropic deletes objects under slab/ and media/ through the maintenance role. Anthropic deletes an object under slab/ only after everything in that object is past its retention period.
If your bucket uses safeguards-data/, this section and What protects object versions in your bucket apply to the same prefixes under safeguards-data/.
Because your bucket keeps versions, a delete by the maintenance role only adds a delete marker, and the old version stays. The lifecycle rules permanently delete each old version at least 3 days later, and then remove the delete marker.
Some objects stay in your bucket, because no lifecycle rule in the setup files deletes them:
- Under
slab/: Anthropic looks through each day’s objects for ones to delete, but only for a limited number of days. An object that it hasn’t deleted by then stays in your bucket. - Under
slab-manifest/: Anthropic’s software never deletes objects under this prefix, so they build up. - Under
media/: An interrupted or repeated write can leave objects that Anthropic no longer tracks. They stay encrypted. A monthly cleanup looks for them, but it can leave them in place.
Leave the objects Anthropic writes as they are, including these leftover objects while a workspace uses your bucket. If you can’t keep them, contact your Anthropic account team, unless you’re deleting the storage destination.
Change your bucket’s lifecycle rules only by setting ReviewExpiryDays. Don’t turn on S3 Object Lock or add a lifecycle rule that expires or archives objects. If you do, your bucket fails Test setup and Anthropic’s daily check.
What protects object versions in your bucket
Only the lifecycle rules can permanently delete an object version under slab/. This holds as long as versioning is on and the bucket policy keeps its NobodyHardDeletesSlabVersions statement. The statement denies s3:DeleteObjectVersion under slab/ to every person and role, Anthropic’s included.
Anthropic’s roles can’t change the bucket policy, versioning, or the lifecycle rules.
The bucket policy has no statement like NobodyHardDeletesSlabVersions for other prefixes. The media-erasure role can permanently delete object versions under media/. The transcripts and review roles can permanently delete Transcripts, Safety Cases, summaries, and Safety Notices, but not your team’s responses.
Your bucket’s own lifecycle rules delete each object of Sealed Safety Data after it’s 28 days old. Don’t change them.
Anthropic’s calls in AWS CloudTrail
Each time Anthropic assumes one of your roles, AWS CloudTrail records the call in your account. You can find those records in CloudTrail Event history:
- Where to look: Look in
us-east-2. Event history shows one AWS region at a time and keeps those records for 90 days with no setup. - What a record shows: Each record carries a source identity that names the kind of work, and every later call in that session carries it too.
- What Event history leaves out: Event history doesn’t show reads, writes, and deletes of objects, which are Amazon S3 data events. To have CloudTrail record them, turn on data event logging for your bucket. AWS charges for that logging.
Calls from Test setup and the daily check
Test setup and the daily check send requests with the external ID or the source identity missing or wrong. Your roles must refuse them, so those refusals are expected. If a role refuses a request that has your external ID and a source identity that the role accepts, that refusal isn’t expected. It might mean that an AWS organization policy blocks Anthropic.
Troubleshooting
The requests that set up External Storage return an error until your organization has access to Enterprise Frontier Safeguards. They also return one when they don’t send the beta header. With an OAuth bearer token, they also return one when the token lacks the org:admin scope. Without the header, the attach and detach requests return a different error, saying that inference_data_privacy isn’t a valid field. If that happens with access and the header in place, contact your Anthropic account team.
If a check fails, the request returns a 400 error with error.details.error_code set to storage_verification_failed. error.details.failed_checks lists each problem as an object with check, role, and message. Fix each problem that failed_checks lists and call activate again. The already_registered check has its own fix, later in this item.
If the first message starts with “Anthropic could not assume the verify role”, check the following in order:
- Look at the names of your IAM roles. A new bucket whose roles have fixed names, such as
anthropic-efs-ingest, fails this check. For such a bucket, delete this External Storage, register a new bucket name, and use the file from Get your setup file. - Otherwise, check that you created your setup from the file in Get your setup file.
- Check whether an AWS organization policy is blocking Anthropic.
If failed_checks holds one object with check set to already_registered, another Anthropic organization has used part of this setup, or the bucket name is in use in a different AWS account. External Storage of a deleted organization can still count as one of these uses.
If another organization has used this AWS account, you can keep the account. First, check that you deployed the file from Get your setup file for this bucket, then call activate again.
If the check still fails, or no other organization has used this AWS account, use a new bucket name, with a key and roles of its own, and register the new bucket. If the new bucket fails in the same way, tell your Anthropic account team.
The attach request can fail with the already_registered check too. If the check fails for safeguards_storage, the fix is the same. If the check fails for transcripts_storage, contact your Anthropic account team. If your roles have fixed names, an already_registered failure at attach can also mean that another organization has used this AWS account.
If the activate request or the attach request returns a 503 error with no error.details.error_code, Anthropic couldn’t run its check, so try again in a few minutes. If it keeps happening, tell your Anthropic account team.
Anthropic can approve customer-owned storage for your whole organization or for chosen workspaces. This request can return two errors about that approval, and in both cases nothing changes. Registering your bucket and activating it can return the same two codes. No workspace is involved at those steps, so the message is about your organization’s approval, not a workspace’s.
| What you get | What it means | What to do |
|---|---|---|
A 400 error with error.details.error_code set to grant_required | Anthropic’s approval doesn’t cover this workspace. The message says the workspace isn’t approved to use External Storage and to contact your Anthropic account team. | Ask your Anthropic account team to have the workspace approved, then send the request again. |
A 503 error with error.details.error_code set to authorization_check_unavailable, and a Retry-After header | Anthropic’s approval couldn’t be checked at that moment. | Wait the number of seconds in the Retry-After header, then send the same request again. |
Before you contact your Anthropic account team, check that an Organization Admin has accepted the EFS and Enterprise Data Controls terms. A new approval can take a short while to reach the API, so a request sent right after you get it can still return grant_required. Send it again, and contact your Anthropic account team if it keeps happening.
The attach request can also return approval_required. To get Anthropic’s approval to turn off Anthropic Human Review, see Set up Enterprise Frontier Safeguards on Claude Platform.
The request returns a 400 error. A failed check changes nothing, so a safeguards_storage in the same request isn’t attached either. What to do depends on the error:
- If
error.details.error_codeisstorage_verification_failedanderror.details.failed_checksholds one object whosecheckistranscripts_support, sending the request again doesn’t help. The object’smessagesays why. Troubleshooting for customer-owned storage says what to do. - If
checkisalready_registered, or the error says that storage can’t be attached for transcripts yet, contact your Anthropic account team. - For any other check, fix what its
messagesays and send the request again.
In each case, you can send the same request without transcripts_storage. If Anthropic accepts that request, only safeguards_storage is attached. If the request without transcripts_storage returns transcripts_storage_required, use a bucket that can receive Transcripts and Safety Cases, or contact your Anthropic account team.
If your bucket’s default encryption key changed after you activated the bucket and no workspace uses the bucket yet, Anthropic refuses the attach, because it checks the bucket again at that point. To use another key with IAM roles you created with your own tooling, follow these steps:
- Delete this External Storage.
- Let every role except
media-erasureuse the new key, including where thetranscriptsandreviewroles’ write conditions name the key. - In the new key’s policy, let Amazon S3 call
kms:GenerateDataKey, as the key policy in your setup file does, so that S3 Inventory can deliver its daily reports. - Set your bucket’s default encryption to the new key, named by its key ARN. The key must meet the requirements for the bucket’s key in the Your own tooling tab of Create your bucket and its KMS key.
- Register your bucket again and activate it.
Anthropic’s CloudFormation template and Terraform file set the roles up for one key and have no supported way to use another. For a setup with fixed role names, such as anthropic-efs-ingest, don’t register the same bucket again. Create a new bucket with the file from Get your setup file.
If the response says some of the request’s changes might have been saved and others not, send the same request again. Changes already saved aren’t repeated.
Don’t resend a create request that returns workspace_created_incomplete, because the workspace already exists and a second create makes a second workspace. Instead, follow the response’s message, which usually says to update the workspace that error.details.workspace_id names. In an organization with a Legacy Zero Data Retention (ZDR) arrangement, if the message says to update inference_data_privacy, archive the workspace and create it again.
Was this page helpful?