External Storage aktivieren
POST/v1/organizations/external_storage/{external_storage_id}/activate
Requires
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.Verifiziert ausstehenden External Storage und macht ihn verfügbar. Speicher, der bereits verfügbar, aktiv oder im Status „Draining“ ist, wird unverändert und ohne Prüfung zurückgegeben.
External Storage aktivieren
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.organization.externalstorage.BetaExternalStorage;
import com.anthropic.models.beta.organization.externalstorage.ExternalStorageActivateParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaExternalStorage betaExternalStorage = client.beta().organization().externalStorage().activate("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"
}