get_file_url
Retrieve a permanent URL for public files or a temporary presigned URL for private files in S3-compatible storage, with optional expiration control.
Instructions
Get a temporary or permanent URL for a file. For public files, returns permanent URL. For private files, returns temporary presigned URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name/key of the file to get URL for | |
| expiresIn | No | Expiration time for presigned URLs in seconds (default: 3600 = 1 hour, max: 604800 = 7 days) |