For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

JavaScript: getBucket

Retrieves the details of an existing Storage bucket.

Parameters

Examples

Get bucket

const { data, error } = await supabase
  .storage
  .getBucket('avatars')