Assets V2

Retrieve Asset

Retrieves an asset by ID. Requires assets:read scope.

get/v2/assets/{id}

Path parameters

idstring required

Asset ID

Asset ID

Response

Success

idstring required

Unique identifier for the asset

object'asset' required

Object type, always asset

project_idstring nullable required

a string to be decoded into a number

keystring required

Unique key for this asset within the project

namestring required

Display name of the asset

urlstring nullable required

CDN URL of the asset

mime_typestring nullable required

MIME type of the asset (e.g. image/webp)

file_sizenumber nullable required

File size in bytes

widthnumber nullable required

Width in pixels

heightnumber nullable required

Height in pixels

created_atstring required

ISO 8601 timestamp of when the asset was created

updated_atstring required

ISO 8601 timestamp of when the asset was last updated

Changes

No recorded changes to this endpoint across all 1 revision of this API.