Get a public web link
get_public_urlRetrieve the permanent public web link for a file stored in a public Supabase Storage bucket. Use this for openly shared assets like logos and campaign images.
Instructions
Get the permanent public web link for a file. This only works for PUBLIC buckets — files anyone can view. If the bucket is private, this explains that and points you to 'get_signed_url' for a temporary link instead. Use this for logos, campaign images, and other openly shared assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | The bucket the file is in (must be a public bucket). | |
| file_path | Yes | Path to the file inside the bucket, e.g. 'logo.png' or 'logos/logo.png'. |