External Storage
建立 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.註冊組織自有雲端帳戶中的儲存貯體。它會儲存為
pending_configuration,並在啟用時進行驗證。
列出 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.列出組織的 External Storage,依最新優先排序。
取得 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.取得組織中的單一 External Storage。
更新 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.重新命名 External Storage 或清除其名稱,適用於任何狀態。
刪除 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.刪除 External Storage。處於待設定或可用狀態,或處於作用中狀態但從未附加的儲存空間會立即刪除,
除非有 Enterprise Frontier Safeguards 工作區政策列出它。其他儲存空間會收到 400,說明下一步該怎麼做。
對於 draining 的儲存空間,該 400 可能表示此次刪除已啟動無法復原的移除作業。
若要確認,請取得該儲存空間:如果 status.removal_started 為 true,請稍後再次刪除以完成作業。
啟用 External Storage
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.驗證待設定的 External Storage 並使其變為可用。 已處於可用、作用中或 Draining 狀態的儲存空間會原樣傳回, 不進行任何檢查。
Models
BetaActiveExternalStorageStatus object{ type: "active", healthy, last_checked_at }At least one Workspace has the storage attached.
At least one Workspace has the storage attached.
type: "active"
Whether the bucket passed its latest recorded check. It can stay true after the bucket stops working, so don't use it for monitoring.
last_checked_at: stringWhen the bucket's latest recorded check ran, in RFC 3339.
When the bucket's latest recorded check ran, in RFC 3339.
BetaAvailableExternalStorageStatus object{ type: "available", healthy, last_checked_at }The storage is verified, no Workspace has it attached, and Anthropic doesn't use
the bucket.
The storage is verified, no Workspace has it attached, and Anthropic doesn't use the bucket.
type: "available"
Whether the bucket passed its latest recorded check. It can stay true after the bucket stops working, so don't use it for monitoring.
last_checked_at: stringWhen the bucket's latest recorded check ran, in RFC 3339.
When the bucket's latest recorded check ran, in RFC 3339.
BetaAWSExternalStorageConfig object{ type: "aws", account_id, bucket_name, region }An Amazon S3 bucket.
An Amazon S3 bucket.
type: "aws"
12-digit ID of the AWS account that owns the bucket.
The bucket's name, without s3://.
The bucket's AWS region.
BetaAWSExternalStorageConfigParam object{ type: "aws", account_id, bucket_name, region }An Amazon S3 bucket.
An Amazon S3 bucket.
12-digit ID of the AWS account that owns the bucket.
The bucket's name, without s3://: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit.
The bucket's AWS region. Activating the storage fails if Anthropic can't use buckets in that region.
BetaDeletedExternalStorage object{ type: "external_storage_deleted", id }
type: "external_storage_deleted"
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.
BetaDrainingExternalStorageStatus object{ type: "draining", healthy, last_checked_at, removal_started }No Workspace has the storage attached. A Workspace can attach it again, unless
removal_started is true.
No Workspace has the storage attached. A Workspace can attach it again, unless
removal_started is true.
type: "draining"
Whether the bucket passed its latest recorded check. It can stay true after the bucket stops working, so don't use it for monitoring.
last_checked_at: stringWhen the bucket's latest recorded check ran, in RFC 3339.
When the bucket's latest recorded check ran, in RFC 3339.
removal_started: booleanTrue once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
True once a delete has started removing this storage, which can't be undone. It then can't be attached, and another delete finishes the removal.
BetaExternalStorage object{ type: "external_storage", id, created_at, 6 more }A storage bucket in the organization's own cloud account. Anthropic writes
inference data to it from each Workspace it is attached to.
A storage bucket in the organization's own cloud account. Anthropic writes inference data to it from each Workspace it is attached to.
BetaExternalStorageFailedCheck object{ check, message, role }One check that an External Storage's verification failed.
One check that an External Storage's verification failed.
BetaExternalStorageInUseErrorDetails object{ error_code }
BetaExternalStorageInWorkspacePolicyErrorDetails object{ error_code }
BetaExternalStorageNotAvailableErrorDetails object{ error_code }
BetaGCPExternalStorageConfig object{ type: "gcp", bucket_name, project_number, region }A Google Cloud Storage bucket.
A Google Cloud Storage bucket.
type: "gcp"
The bucket's name, without gs://.
Number of the Google Cloud project that holds the bucket.
The bucket's Google Cloud region.
BetaGCPExternalStorageConfigParam object{ type: "gcp", bucket_name, project_number, region }A Google Cloud Storage bucket.
A Google Cloud Storage bucket.
The bucket's name, without gs://: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit. It can't start with goog or contain google.
Project number, not project ID, of the Google Cloud project that holds the bucket.
The bucket's Google Cloud region, such as us-east5: one of the single regions that the setup guide lists. Dual-regions and multi-regions aren't supported.
BetaGrantRequiredErrorDetails object{ error_code }
BetaInvalidStorageARNErrorDetails object{ error_code }
BetaPendingConfigurationExternalStorageStatus object{ type: "pending_configuration" }The storage isn't verified yet.
The storage isn't verified yet.
type: "pending_configuration"
BetaProviderNotAllowedErrorDetails object{ error_code }
BetaStorageAlreadyRegisteredErrorDetails object{ error_code }
BetaStorageAttachLimitReachedErrorDetails object{ error_code }
BetaStorageCapacityReachedErrorDetails object{ error_code, field }
The request field at fault.
BetaStorageChangedConcurrentlyErrorDetails object{ error_code, field }
The storage setting that changed.
BetaStorageNotAttachableErrorDetails object{ error_code, field }
The request field at fault.
BetaStorageProfileStillRequiredErrorDetails object{ error_code }
BetaStorageVerificationFailedErrorDetails object{ error_code, failed_checks, field }
BetaUnsupportedRegionErrorDetails object{ error_code }
Errors
"external_storage_in_use"HTTP status 400The External Storage is active or draining, so this delete didn't erase it. The message says what to do next. On draining storage this delete may have started a removal that can't be undone: get the storage and read status.removal_started.
The External Storage is active or draining, so this delete didn't erase it. The message says what to do next. On draining storage this delete may have started a removal that can't be undone: get the storage and read status.removal_started.
details: BetaExternalStorageInUseErrorDetails { error_code }
"external_storage_in_workspace_policy"HTTP status 400The External Storage can't be deleted while an Enterprise Frontier Safeguards workspace policy lists it as allowed storage.
The External Storage can't be deleted while an Enterprise Frontier Safeguards workspace policy lists it as allowed storage.
details: BetaExternalStorageInWorkspacePolicyErrorDetails { error_code }
"external_storage_not_available"HTTP status 400External Storage isn't available for this Workspace, so only internal storage is accepted. The error's message says why.
External Storage isn't available for this Workspace, so only internal storage is accepted. The error's message says why.
details: BetaExternalStorageNotAvailableErrorDetails { error_code }
"grant_required"HTTP status 400Anthropic 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.
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.
details: BetaGrantRequiredErrorDetails { error_code }
"invalid_storage_arn"HTTP status 400On 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.
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.
details: BetaInvalidStorageARNErrorDetails { error_code }
"provider_not_allowed"HTTP status 400The request can't use External Storage on this cloud provider. The error's message says why.
The request can't use External Storage on this cloud provider. The error's message says why.
details: BetaProviderNotAllowedErrorDetails { error_code }
"storage_attach_limit_reached"HTTP status 400The 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.
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.
details: BetaStorageAttachLimitReachedErrorDetails { error_code }
"storage_capacity_reached"HTTP status 400Anthropic has no room for this External Storage at the moment. Contact your Anthropic account team.
Anthropic has no room for this External Storage at the moment. Contact your Anthropic account team.
details: BetaStorageCapacityReachedErrorDetails { error_code, field }
The request field at fault.
"storage_not_attachable"HTTP status 400This External Storage can't be attached to the setting named in field. The error's message says why.
This External Storage can't be attached to the setting named in field. The error's message says why.
details: BetaStorageNotAttachableErrorDetails { error_code, field }
The request field at fault.
"storage_profile_still_required"HTTP status 400This 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.
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.
details: BetaStorageProfileStillRequiredErrorDetails { error_code }
"storage_verification_failed"HTTP status 400The External Storage failed verification, so the request changed nothing. failed_checks lists what to fix.
The External Storage failed verification, so the request changed nothing. failed_checks lists what to fix.
details: BetaStorageVerificationFailedErrorDetails { error_code, failed_checks, field }
"unsupported_region"HTTP status 400provider_config.region is not a region where External Storage is available.
provider_config.region is not a region where External Storage is available.
details: BetaUnsupportedRegionErrorDetails { error_code }
"storage_already_registered"HTTP status 409The organization already has External Storage for this bucket that it has not deleted. List the organization's External Storage to find it.
The organization already has External Storage for this bucket that it has not deleted. List the organization's External Storage to find it.
details: BetaStorageAlreadyRegisteredErrorDetails { error_code }
"storage_changed_concurrently"HTTP status 409Another 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.
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.
details: BetaStorageChangedConcurrentlyErrorDetails { error_code, field }
The storage setting that changed.