Verify bucket connectivity
Last updated
Last updated
Verify connectivity to a storage bucket and optionally list its contents. This endpoint allows you to:
The request can include details such as the bucket name, region, credentials, and listing options. The response provides information about the bucket's accessibility and, if requested, a list of files in the bucket.
Important note on verification process:
When dealing with Azure buckets, implement a polling mechanism to check the status periodically until it's confirmed as connected.
Organization ID
Access key for the storage service:
Secret key for the storage service:
secretKey
value or a bucketId
value.ID of an existing bucket. If provided, the credentials from this bucket
will be used unless overridden by the secretKey
property.
Name of the storage bucket or container.
Endpoint URL for the storage service. For S3-compatible services, Azure, or custom endpoints.
Optional region of the storage service (if applicable).
Optional prefix within the bucket. Set this if you don't have access to the full bucket or want to limit the scope.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Indicates the current state of the connectivity verification process.
Provides additional details if connectionStatus is "error". Helps diagnose verification failures.
Timestamp of when the connectionStatus last changed.
Random files from the bucket. Only available when connectionStatus is "connected".
Indicates whether there are any info.labels files in this bucket. If so, those are used for category/labels. Only available when connectionStatus is "connected".
A signed URL that allows you to PUT an item, to check whether CORS headers are set up correctly for this bucket. Only available when connectionStatus is "connected".
An alternative endpoint URL. Only returned and required for Azure storage accounts, where the endpoint must be reformatted. This field will be undefined for other storage providers.