Skip to main content
Manage cloud storage configurations that connect your AWS S3 or Google Cloud Storage buckets to Avala. Storage configs allow datasets to read and write data directly from your own buckets.
Credentials (access keys, service account JSON) are validated on creation and never returned in API responses. Only bucket metadata and verification status are exposed.

List Storage Configs

Returns all storage configurations for the authenticated user’s organization, ordered by most recent first.

Parameters

Request

Response

Fields


Create Storage Config

Creates a new storage configuration. Cloud credentials are validated during creation — the request will fail if Avala cannot connect to the bucket. Credentials are stored securely and are never returned in API responses.

Parameters (AWS S3)

Parameters (Google Cloud Storage)

Request (AWS S3)

Response

Credentials (s3_access_key_id, s3_secret_access_key, gc_storage_auth_json_content) are write-only. They are never included in API responses.

Test Connection

Re-runs credential validation and connectivity checks on an existing storage configuration. Updates the is_verified and last_verified_at fields.

Parameters

Request

Response (Success)

Response (Failure)


Get Setup Info

Returns the Avala AWS Account ID and your organization’s external ID, needed to configure IAM trust policies for cross-account S3 access.

Parameters

Request

Response


Delete Storage Config

Permanently deletes a storage configuration. Datasets that reference this configuration will no longer be able to access the bucket.

Parameters

Request

Response

Returns 204 No Content on success.

Supported Providers


Error Responses

Validation Error (400)

Returned when credentials are invalid, the bucket is unreachable, or the provider is not supported.

Unauthorized (401)

Returned when the X-Avala-Api-Key header is missing or contains an invalid key.

Permission Denied (403)

Returned when the authenticated user does not have access to the requested storage config.

Not Found (404)

Returned when the specified storage config UID does not exist.