get an asset download url
assets_get-download-urlGet a signed download link for an asset's original media file by its ID, so you can save or download it. Use for external-URL assets to retrieve the original URL unchanged.
Instructions
Get a download link for one asset's original media file, by id. Use it when the user wants to download or save the file; use assets_get for the asset's details and media url, and assets_get-playback-metadata for frame timing. For files in sync. storage the link is signed, valid for up to 7 days and downloads under the asset's name; an asset registered from an outside URL returns that URL unchanged. Returns the URL as a plain string, or 404 when the asset does not exist, was deleted or you cannot see it. Return the URL exactly as given, query string included, and request a fresh one instead of reusing an old link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset id (UUID) from assets_list or assets_get, not a generation id; for a generation's output use its outputMediaUrl from generations_get. |