Authorizations
Path Parameters
Organization ID
Body
Access key for the storage service:
- For S3 and GCS: Use the access key.
- For Azure: Use the Storage Account Name.
Name of the storage bucket or container.
Endpoint URL for the storage service. For S3-compatible services, Azure, or custom endpoints.
The type of storage backend to use. Supported options are:
- 's3': Amazon S3
- 'google': Google Cloud Storage
- 'azure': Azure Blob Storage
- 'other': Other S3-compatible storage If not specified, defaults to 's3'
s3
, google
, azure
, other
Secret key for the storage service:
- For S3 and GCS: Use the secret key.
- For Azure: Use the Storage Account Access Key.
Note: You should either pass a
secretKey
value or abucketId
value.
ID of an existing bucket. If provided, the credentials from this bucket
will be used unless overridden by the secretKey
property.
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.
Response
OK
Response object for verifying an organization's bucket connectivity.
Workflow:
- The client initiates verification by sending a GET request to /api/organizations/{organizationId}/buckets/verify with bucket and credential details.
- The server responds with this VerifyOrganizationBucketResponse object.
- The client checks the connectionStatus:
- If "connected": Verification is complete. Other properties (files, hasInfoLabelsFile, signedUrl) are available.
- If "connecting": Verification is in progress. The client should continue polling. Other properties are not yet available.
- If "error": Verification failed. Check connectionError for details. Other properties are not available.
- If connectionStatus is "connecting", the client should periodically poll the endpoint until the status changes to "connected" or "error".
Whether the operation succeeded
Indicates the current state of the connectivity verification process.
- "connected": Verification successful, other properties are available.
- "connecting": Verification in progress, continue polling.
- "error": Verification failed, check connectionError for details.
connected
, connecting
, error
Optional error description (set if 'success' was false)
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.