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.

Kotlin: Retrieve public URL

Parameters

Examples

Returns the URL for an asset in a public bucket

val url = supabase.storage.from("public-bucket").publicUrl("folder/avatar1.png")

Returns the URL for an asset in a public bucket with transformations

val url = supabase.storage.from("public-bucket").publicRenderUrl("folder/avatar1.png") {
    size(100, 100)
}