## Request `assets.download.request(strasset_id, DownloadRequestParams**kwargs) -> DownloadRequestResponse` **post** `/assets/{assetId}/download` Request a link to download the given `assetId` in the given `targetFormat` ### Parameters - `asset_id: str` - `target_format: Optional[Literal["gif", "heif", "jpeg", 10 more]]` The format to download the asset in - `"gif"` - `"heif"` - `"jpeg"` - `"jpg"` - `"png"` - `"svg"` - `"webp"` - `"avif"` - `"tif"` - `"tiff"` - `"glb"` - `"fbx"` - `"obj"` ### Returns - `class DownloadRequestResponse: …` - `url: str` The signed URL to download the asset in the given format ### Example ```python import os from scenario_sdk import Scenario client = Scenario( api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted ) response = client.assets.download.request( asset_id="assetId", ) print(response.url) ``` #### Response ```json { "url": "url" } ```