StorageConfigsResource provides methods to create, list, test, and delete storage configurations for connecting to external storage providers like AWS S3 and Google Cloud Storage.
List storage configs
Retrieve a paginated list of all storage configurations.Parameters
Maximum number of results to return
Cursor for pagination
Returns
Array of storage configuration objects
Cursor for the next page of results
Cursor for the previous page of results
Whether there are more results available
Create a storage config
Create a new storage configuration for an external storage provider.Parameters
The name of the storage configuration
The storage provider type (e.g., “s3”, “gcs”)
AWS S3 bucket name (required for S3 provider)
AWS S3 bucket region (e.g., “us-east-1”)
Optional prefix for S3 objects
AWS access key ID for authentication
AWS secret access key for authentication
Whether to use S3 transfer acceleration
Google Cloud Storage bucket name (required for GCS provider)
Optional prefix for GCS objects
JSON content of the GCS service account credentials
Returns
The unique identifier for the storage configuration
The name of the storage configuration
The storage provider type
AWS S3 bucket name
AWS S3 bucket region
S3 object prefix
Whether S3 transfer acceleration is enabled
Google Cloud Storage bucket name
GCS object prefix
Whether the storage configuration has been verified
The timestamp when the configuration was last verified
The timestamp when the configuration was created
The timestamp when the configuration was last updated
Test a storage config
Test a storage configuration to verify connectivity and permissions.Parameters
The unique identifier of the storage configuration to test
Returns
Whether the storage configuration passed verification
Validation errors if verification failed
Delete a storage config
Delete a storage configuration.Parameters
The unique identifier of the storage configuration to delete