Sign file URL
sign_storage_file_urlCreate a signed URL granting temporary access to an access-restricted fal CDN file, enabling sharing regardless of its ACL.
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 | Must be true for the requested mutation, paid work or private output file. | |
| 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) |