Sign file URL
sign_storage_file_urlCreate a time-limited signed URL for a fal CDN file to share access-restricted assets, with expiration up to 7 days.
Instructions
Creates a signed URL that grants temporary access to a fal CDN file, regardless of its ACL. Useful for sharing access-restricted files.
The signature is valid for expiration_seconds (up to 7 days).
Authentication: Required. The API key must have the assets:read permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the fal CDN file, as returned by the upload APIs (https://v3.fal.media/files/b/<id>/<filename>). Must not contain query parameters. | |
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete native JSON body, mutually exclusive with flat body flags and payload_file. Use schema for union bodies. | |
| output_file | Yes | Required absolute new owner-private file; signed credential URL is never echoed. | |
| payload_file | No | Absolute regular non-symlink private JSON file, at most 1 MiB. Cannot mix with other body inputs. | |
| expiration_seconds | No | How long the signed URL stays valid, in seconds (max 7 days) |