GET/api/v1/assets/{id}/files
List an asset's current files with their technical metadata
Every current file of the asset — the ones attached to a slot, then the ones the pipeline derived (proxy, thumbnail, captions…) — in the order Asset.files uses, each with its version chain (root_file_id), who added it, its version note and technical: what the pipeline measured (duration, dimensions, codec, loudness), null until the measure pass has run. A derived file's size_bytes may be null. Returned whole: next_cursor is always null.
Scopes: assets:read
Parameters
idpath · string (uuid)requiredThe asset's id: its current version's id or its root id (an older version's id is not found).
Response 200AssetFileList
dataarray of AssetFileDetailrequiredidstring (uuid)requiredslotobject or nullrequiredThe slot a caller's file was attached to; null for a file the pipeline derived.
idstring (uuid)requirednamestring or nullrequired
rolestring or nullrequirednull for a file attached to a slot; for a derived file, what the pipeline made: proxy, thumbnail, captions, conformed (more may be added).
media_typestringrequiredmime_typestring or nullrequiredextensionstring or nullrequiredsize_bytesinteger or nullrequiredversionintegerrequireduploaded_atstring (date-time)requiredroot_file_idstring (uuid)requiredThe file's version chain: the id of its first version. Every version of the file shares it; GET /assets/{id}/files/{file_id} lists the chain.
version_notestring or nullrequiredWhy this version was added, as its uploader wrote it; null when none was given.
uploaded_byobject or nullrequiredThe person who added this version ({ id: their principal id, name }). Null for a file the pipeline derived and for one added with an API key (every key of an org acts as one service principal, so the key is not recoverable from the file).
idstring (uuid)requirednamestringrequired
technicalVideoInfo or AudioInfo or ImageInfo or nullrequiredWhat the pipeline measured, by
media_type: VideoInfo for video, AudioInfo for audio, ImageInfo for image. Null until the measure pass has run on the file, and always null for other media types (documents, subtitles).duration_secondsnumber or nullrequiredwidthinteger or nullrequiredheightinteger or nullrequiredcodecstring or nullrequiredThe video codec, as the probe names it (h264, prores, …).
frame_ratenumber or nullrequiredaudio_codecstring or nullrequiredThe codec of the file's interleaved audio, if any.
audio_sample_rateinteger or nullrequiredintegrated_loudnessnumber or nullrequiredIntegrated loudness of the interleaved audio, LUFS (EBU R128).
color_primariesstring or nullrequiredcolor_transferstring or nullrequired
next_cursorstring or nullrequiredAlways null: an asset's current files are few and are returned whole.
Other responses
- 401 unauthenticated — no key, or an unknown, revoked or expired one.
- 403 insufficient-scope — the key lacks a required scope.
- 404 not-found.
- 429 rate-limited — the key's request budget is spent; wait Retry-After seconds.
- 500 internal.