curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets \
--header 'x-api-key: <api-key>'{
"success": true,
"buckets": [
{
"id": 1,
"accessKey": "AKIAIOSFODNN7EXAMPLE",
"endpoint": "https://s3.amazonaws.com",
"bucket": "my-organization-bucket",
"region": "us-west-2",
"connected": true,
"storageProvider": "s3",
"checkConnectivityPrefix": "data/",
"storageAccountName": "my-storage-account"
}
],
"error": "<string>"
}Retrieve all configured storage buckets. This does not list the secret key.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets \
--header 'x-api-key: <api-key>'{
"success": true,
"buckets": [
{
"id": 1,
"accessKey": "AKIAIOSFODNN7EXAMPLE",
"endpoint": "https://s3.amazonaws.com",
"bucket": "my-organization-bucket",
"region": "us-west-2",
"connected": true,
"storageProvider": "s3",
"checkConnectivityPrefix": "data/",
"storageAccountName": "my-storage-account"
}
],
"error": "<string>"
}Organization ID
OK
Whether the operation succeeded
Show child attributes
1
Access key for the storage service
"AKIAIOSFODNN7EXAMPLE"
Endpoint URL for the storage service
"https://s3.amazonaws.com"
Name of the storage bucket
"my-organization-bucket"
Region of the storage service (if applicable)
"us-west-2"
Whether we can reach the bucket
true
The type of storage provider for this bucket
s3, google, azure, other "s3"
Optional prefix used for connectivity verification when root bucket access is restricted.
"data/"
The name of the storage account for Azure Blob Storage
"my-storage-account"
Optional error description (set if 'success' was false)
Was this page helpful?