Claude Platform Docs

External Storage

Создать External Storage
$ ant beta:organization:external-storage create
POST/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Регистрирует бакет, расположенный в собственном облачном аккаунте организации. Он сохраняется со статусом pending_configuration и проверяется при активации.

Список External Storage
$ ant beta:organization:external-storage list
GET/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Возвращает список External Storage организации, начиная с самых новых.

Получить External Storage
$ ant beta:organization:external-storage retrieve
GET/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Возвращает один External Storage организации.

Обновить External Storage
$ ant beta:organization:external-storage update
POST/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Переименовывает External Storage или очищает его имя в любом статусе.

Удалить External Storage
$ ant beta:organization:external-storage delete
DELETE/v1/organizations/external_storage/{external_storage_id}
Requires 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
$ ant beta:organization:external-storage activate
POST/v1/organizations/external_storage/{external_storage_id}/activate
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

Проверяет External Storage, ожидающий настройки, и делает его доступным. Хранилище, которое уже доступно, активно или находится в статусе draining, возвращается без изменений и без какой-либо проверки.

Models
beta_active_external_storage_status: object{ type: "active", healthy, last_checked_at }

At least one Workspace has the storage attached.

type: "active"
healthy: boolean

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: string

When the bucket's latest recorded check ran, in RFC 3339.

formatdate-time
beta_available_external_storage_status: object{ type: "available", healthy, last_checked_at }

The storage is verified, no Workspace has it attached, and Anthropic doesn't use the bucket.

type: "available"
healthy: boolean

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: string

When the bucket's latest recorded check ran, in RFC 3339.

formatdate-time
beta_aws_external_storage_config: object{ type: "aws", account_id, bucket_name, region }

An Amazon S3 bucket.

type: "aws"
account_id: string

12-digit ID of the AWS account that owns the bucket.

bucket_name: string

The bucket's name, without s3://.

region: string

The bucket's AWS region.

beta_aws_external_storage_config_param: object{ type: "aws", account_id, bucket_name, region }

An Amazon S3 bucket.

type: "aws"
account_id: string

12-digit ID of the AWS account that owns the bucket.

bucket_name: string

The bucket's name, without s3://: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit.

region: string

The bucket's AWS region. Activating the storage fails if Anthropic can't use buckets in that region.

beta_deleted_external_storage: object{ type: "external_storage_deleted", id }
type: "external_storage_deleted"
id: string

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.

beta_draining_external_storage_status: 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.

type: "draining"
healthy: boolean

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: string

When the bucket's latest recorded check ran, in RFC 3339.

formatdate-time
removal_started: boolean

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.

beta_external_storage: 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.

beta_external_storage_failed_check: object{ check, message, role }

One check that an External Storage's verification failed.

beta_external_storage_in_use_error_details: object{ error_code }
error_code: "external_storage_in_use"
beta_external_storage_in_workspace_policy_error_details: object{ error_code }
error_code: "external_storage_in_workspace_policy"
beta_external_storage_not_available_error_details: object{ error_code }
error_code: "external_storage_not_available"
beta_gcp_external_storage_config: object{ type: "gcp", bucket_name, project_number, region }

A Google Cloud Storage bucket.

type: "gcp"
bucket_name: string

The bucket's name, without gs://.

project_number: string

Number of the Google Cloud project that holds the bucket.

region: string

The bucket's Google Cloud region.

beta_gcp_external_storage_config_param: object{ type: "gcp", bucket_name, project_number, region }

A Google Cloud Storage bucket.

type: "gcp"
bucket_name: string

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: string

Project number, not project ID, of the Google Cloud project that holds the bucket.

region: string

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.

beta_grant_required_error_details: object{ error_code }
error_code: "grant_required"
beta_invalid_storage_arn_error_details: object{ error_code }
error_code: "invalid_storage_arn"
beta_pending_configuration_external_storage_status: object{ type: "pending_configuration" }

The storage isn't verified yet.

type: "pending_configuration"
beta_provider_not_allowed_error_details: object{ error_code }
error_code: "provider_not_allowed"
beta_storage_already_registered_error_details: object{ error_code }
error_code: "storage_already_registered"
beta_storage_attach_limit_reached_error_details: object{ error_code }
error_code: "storage_attach_limit_reached"
beta_storage_capacity_reached_error_details: object{ error_code, field }
error_code: "storage_capacity_reached"
field: string

The request field at fault.

beta_storage_changed_concurrently_error_details: object{ error_code, field }
error_code: "storage_changed_concurrently"
field: string

The storage setting that changed.

beta_storage_not_attachable_error_details: object{ error_code, field }
error_code: "storage_not_attachable"
field: string

The request field at fault.

beta_storage_profile_still_required_error_details: object{ error_code }
error_code: "storage_profile_still_required"
beta_storage_verification_failed_error_details: object{ error_code, failed_checks, field }
beta_unsupported_region_error_details: object{ error_code }
error_code: "unsupported_region"
Errors
"external_storage_in_use"⁠HTTP status 400

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: object{ error_code }
error_code: "external_storage_in_use"
"external_storage_in_workspace_policy"⁠HTTP status 400

The External Storage can't be deleted while an Enterprise Frontier Safeguards workspace policy lists it as allowed storage.

details: object{ error_code }
error_code: "external_storage_in_workspace_policy"
"external_storage_not_available"⁠HTTP status 400

External Storage isn't available for this Workspace, so only internal storage is accepted. The error's message says why.

details: object{ error_code }
error_code: "external_storage_not_available"
"grant_required"⁠HTTP status 400

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: object{ error_code }
error_code: "grant_required"
"invalid_storage_arn"⁠HTTP status 400

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: object{ error_code }
error_code: "invalid_storage_arn"
"provider_not_allowed"⁠HTTP status 400

The request can't use External Storage on this cloud provider. The error's message says why.

details: object{ error_code }
error_code: "provider_not_allowed"
"storage_attach_limit_reached"⁠HTTP status 400

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: object{ error_code }
error_code: "storage_attach_limit_reached"
"storage_capacity_reached"⁠HTTP status 400

Anthropic has no room for this External Storage at the moment. Contact your Anthropic account team.

details: object{ error_code, field }
error_code: "storage_capacity_reached"
field: string

The request field at fault.

"storage_not_attachable"⁠HTTP status 400

This External Storage can't be attached to the setting named in field. The error's message says why.

details: object{ error_code, field }
error_code: "storage_not_attachable"
field: string

The request field at fault.

"storage_profile_still_required"⁠HTTP status 400

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: object{ error_code }
error_code: "storage_profile_still_required"
"storage_verification_failed"⁠HTTP status 400

The External Storage failed verification, so the request changed nothing. failed_checks lists what to fix.

details: object{ error_code, failed_checks, field }
"unsupported_region"⁠HTTP status 400

provider_config.region is not a region where External Storage is available.

details: object{ error_code }
error_code: "unsupported_region"
"storage_already_registered"⁠HTTP status 409

The organization already has External Storage for this bucket that it has not deleted. List the organization's External Storage to find it.

details: object{ error_code }
error_code: "storage_already_registered"
"storage_changed_concurrently"⁠HTTP status 409

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: object{ error_code, field }
error_code: "storage_changed_concurrently"
field: string

The storage setting that changed.