Create External Storage
POST/v1/organizations/external_storage
Requires
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.Register a bucket in the organization's own cloud account. It is saved
as pending_configuration and verified when activated.
Headers
Body
Returns
Errors
Any method can also return the general HTTP errors.
Each code below is the value of error.details.error_code in the response body.
Create External Storage
curl https://api.anthropic.com/v1/organizations/external_storage \
-H 'Content-Type: application/json' \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: efs-2026-10-01' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY" \
-d '{
"provider_config": {
"account_id": "111122223333",
"bucket_name": "acme-safety-retention",
"region": "us-east-2",
"type": "aws"
},
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}'Response 200
{
"id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "display_name",
"provider_config": {
"account_id": "111122223333",
"bucket_name": "acme-safety-retention",
"region": "us-east-2",
"type": "aws"
},
"setup_template_version": "2",
"status": {
"type": "pending_configuration"
},
"type": "external_storage",
"updated_at": "2024-10-30T23:58:27.427722Z",
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}Returns Examples
Response 200
{
"id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "display_name",
"provider_config": {
"account_id": "111122223333",
"bucket_name": "acme-safety-retention",
"region": "us-east-2",
"type": "aws"
},
"setup_template_version": "2",
"status": {
"type": "pending_configuration"
},
"type": "external_storage",
"updated_at": "2024-10-30T23:58:27.427722Z",
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}