JavaScript: listBuckets

Lists all vector buckets with optional filtering and pagination

Public alpha: This API is part of a public alpha release and may not be available to your account type.

Parameters

Examples

List vector buckets

const { data, error } = await supabase
  .storage
  .vectors
  .listBuckets({ prefix: 'embeddings-' })

data?.vectorBuckets.forEach(bucket => {
  console.log(bucket.vectorBucketName)
})