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: Get file metadata

Retrieves the details of an existing file. Returns detailed file metadata including size, content type, and timestamps.

Parameters

Examples

Get file info

val file = supabase.storage.from("avatars").info("folder/avatar1.png")
println(file.size)