Skip to main content
GET
/
api
/
storage
/
buckets
List All Buckets
curl --request GET \
  --url https://api.example.com/api/storage/buckets \
  --header 'x-api-key: <api-key>'
{
  "buckets": [
    "avatars",
    "documents",
    "uploads",
    "public",
    "private"
  ]
}

Authorizations

x-api-key
string
header
required

Response

200 - application/json

List of bucket names

buckets
string[]
Example:
["avatars", "documents", "uploads"]