External Storage 활성화
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 상태인 스토리지는 아무런 검사 없이 변경되지 않은 상태로 반환됩니다.
External Storage 활성화
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
beta_external_storage = client.beta.organization.external_storage.activate(
external_storage_id="external_storage_id",
)
print(beta_external_storage.id)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"
}