Get an asset
get_assetRead an asset by ID to retrieve a fresh signed URL and metadata, including media type, dimensions, and clip specs; check whether it is awaiting upload, processing, or failed.
Instructions
Read one asset by asset_id with a freshly signed url (valid for an hour), its role, name, media_type, bytes, width, height, content_digest and, for a clip, duration_frames, fps, codec and pix_fmt. An asset still in progress answers state awaiting_upload (PUT the file, then read again) or processing (read again in a few seconds); a refused one answers state failed with error.code. A deleted asset answers asset_not_found. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes |