Skip to content

Get asset metadata by slug

HEAD
/api/assets/{configId}/slug/{slug}/{rendition}
curl --request HEAD \
--url 'https://example.com/api/assets/example/slug/example/example?format=webp&version=latestpublished&download=true' \
--header 'Authorization: Bearer <token>'

Returns headers with asset metadata (content-type, content-length, etc.) without the body, addressed by slug.

configId
required
string
slug
required
string
rendition
required
string
format

Output format for the asset (e.g., webp, jpg)

string
Example
webp
version

Version of the asset to retrieve (e.g., ‘latest’, ‘latestpublished’, or specific version number)

string
Example
latestpublished
download

If set, forces download with Content-Disposition header

string
Example
true

Asset metadata in headers

Asset not found