Skip to main content
GET
/
assets
/
{asset_id}
/
download
Get Asset Download Data
curl --request GET \
  --url http://0.0.0.0:8008/assets/{asset_id}/download \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>",
  "url_expires_at": "2023-11-07T05:31:56Z",
  "variant": "original"
}

Authorizations

Authorization
string
header
required

JWT in Authorization header. 'Bearer ' prefix optional.

Path Parameters

asset_id
string<uuid>
required

The ID of the asset to download

Response

Successful Response

API response schema for getting asset download URL

id
string<uuid>
required
url
string
required
url_expires_at
string<date-time>
required
variant
enum<string>
required
Available options:
original,
proxy,
audio_proxy,
model_proxy,
preview,
subclip,
hls