Download asset
download_assetReturn metadata and a short-lived signed download URL for an owned output asset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_id": "<asset_id>"
},
"name": "download_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | Owned asset ID from task outputs, not a task ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable public asset ID; use it to refresh download metadata. | |
| media | No | Whitelisted measured video metadata. Unknown fields are null; non-video assets return null. | |
| format | Yes | Artifact format; inspect actual outputs rather than assuming an array order. | |
| object | No | asset | |
| byte_size | Yes | Expected file size in bytes. | |
| mime_type | Yes | Asset media type. | |
| created_at | Yes | Creation timestamp in UTC. | |
| download_url | Yes | Sensitive short-lived signed URL. Download without a Bearer header, including after redirects; never log the URL. | |
| download_expires_at | Yes | Signed URL expiry in UTC; refresh via asset lookup when expired. |