Retrieve Media Asset
Retrieves a media asset by ID. Poll this while the asset is processing.
Authorizations
An account API key, account scoped JWT, app API key, or user OAuth token.
Path Parameters
Media asset ID, prefixed media_.
Response
Media asset retrieved.
Media asset ID, prefixed media_.
The kind of media this asset holds.
video, image "video"
How the asset was created. Always generated.
generated "generated"
Lifecycle state: processing while generation runs, ready when the file is available, failed when generation failed and the charge was refunded.
processing, ready, failed "processing"
USD amount charged to the account's balance for this generation. null if the generation wasn't billed.
Currency of amount_charged. Always usd.
Why generation failed. null unless status is failed.
ISO 8601 timestamp when the generation was requested.
ISO 8601 timestamp when the asset reached a terminal state. null while processing.
The inputs the asset was generated from.
The produced file, usable anywhere attachments are accepted. null until the asset is ready.

