get_file_url
Generate a secure, time-limited download URL for files stored in Supabase Storage buckets to enable controlled access to private files.
Instructions
Generate signed download URL for secure file access
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_name | Yes | Source bucket | |
expires_in | No | URL expiration in seconds (default: 7200) | |
storage_path | Yes | Full file path in storage |
Input Schema (JSON Schema)
{
"properties": {
"bucket_name": {
"description": "Source bucket",
"maxLength": 63,
"minLength": 3,
"type": "string"
},
"expires_in": {
"default": 7200,
"description": "URL expiration in seconds (default: 7200)",
"maximum": 604800,
"minimum": 60,
"type": "number"
},
"storage_path": {
"description": "Full file path in storage",
"maxLength": 1024,
"type": "string"
}
},
"required": [
"bucket_name",
"storage_path"
],
"type": "object"
}