Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Create an external storage configuration

$ openai admin:organization:external-storage create
POST
/organization/external_storage

Register one customer-managed external storage configuration.

Parameters
--project-id: string
--provider: object { bucket, role_arn, type } or object { account_name, container, resource_group, 3 more } or object { bucket, type, workload_identity_pool_id, 2 more } or object { bucket, region, tenancy_ocid, type }
Returns
external_storage_configuration: object { id, created_at, geography, 4 more }
id: string
created_at: number
geography: string
object: "organization.external_storage"
project_id: string
provider: AwsExternalStorageProvider { account_id, bucket, external_id, 3 more } or AzureExternalStorageProvider { account_name, container, region, 4 more } or GcpExternalStorageProvider { audience, bucket, region, 4 more } or OciExternalStorageProvider { bucket, region, tenancy_ocid, type }
status: "pending" or "validated" or "degraded" or "unhealthy"

Create an external storage configuration

openai admin:organization:external-storage create \
  --admin-api-key 'My Admin API Key' \
  --project-id proj_123 \
  --provider '{bucket: bucket, role_arn: role_arn, type: aws}'
200 — Example
{
  "id": "id",
  "created_at": 0,
  "geography": "geography",
  "object": "organization.external_storage",
  "project_id": "project_id",
  "provider": {
    "account_id": "account_id",
    "bucket": "bucket",
    "external_id": "external_id",
    "region": "region",
    "role_arn": "role_arn",
    "type": "aws"
  },
  "status": "pending"
}
Returns Examples
200 — Example
{
  "id": "id",
  "created_at": 0,
  "geography": "geography",
  "object": "organization.external_storage",
  "project_id": "project_id",
  "provider": {
    "account_id": "account_id",
    "bucket": "bucket",
    "external_id": "external_id",
    "region": "region",
    "role_arn": "role_arn",
    "type": "aws"
  },
  "status": "pending"
}