action shotstack_get_asset { label: "Get Asset" description: "The Serve API is used to interact with, and delete hosted assets including videos, images, audio files, thumbnails and poster images. Use this endpoint to fetch an asset by asset id. Note that an asset id is unique for each asset and different from the render id.\n\n**base URL:** https://api.shotstack.io/serve/{version}" provider: shotstack method: GET path: "/assets/{id}" encoding: json output: { type: "object" description: "The response returned by the Serve API [get asset](#get-asset) request. Includes details of a hosted video, image, audio file, thumbnail or poster image. The response follows the [json:api](https://jsonapi.org/) specification." properties: { data: { type: "object" description: "The type of resource (an asset) and attributes of the asset." properties: { attributes: { type: "object" description: "The list of asset attributes and their values." properties: { created: { type: "string" description: "The time the asset was created." } filename: { type: "string" description: "The asset file name." } id: { type: "string" description: "The unique id of the hosted asset in UUID format." } owner: { type: "string" description: "The owner id of the render task." } region: { type: "string" description: "The region the asset is hosted, currently only `au` (Australia)." } renderId: { type: "string" description: "The original render id that created the asset in UUID format. Multiple assets can share the same render id." } status: { type: "string" description: "The status of the asset. " enum: ["importing", "ready", "failed", "deleted"] } updated: { type: "string" description: "The time the asset status was last updated." } url: { type: "string" description: "The asset file name." } } } type: { type: "string" description: "The type of resource, in this case it is an assets." } } } } } }