JavaScript: List all buckets | Supabase Docs (original) (raw)

Retrieves the details of all Storage buckets within an existing project.

Examples

List buckets

const { data, error } = await supabase
  .storage
  .listBuckets()