Supabase Extended icon

Supabase Extended

Interact with Supabase database and storage

Storage → Generate Signed URL

AI-generated

Summary

Generate a signed URL for private file access in Supabase Storage

Inputs

  • bucket (required) — Name of the storage bucket
  • filePath (required) — Path of the file in storage
  • expiresIn — Validity period of the signed URL in seconds
  • download — Whether the signed URL forces download instead of preview

Output shape

JSON object with fields: operation, bucket, filePath, expiresIn, download, signedUrl, path?, token?

Signed URL valid for the specified expiresIn period; download flag controls access type; path and token are included only when present in the API response

Examples

Example 1: User needs time-limited private access to a document

bucket: my-bucket, filePath: docs/report.pdf, expiresIn: 86400, download: false

Links

Discussion