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: Create a bucket

Examples

Create bucket

const { data, error } = await supabase
  .storage
  .createBucket('avatars', { public: false })