Cloudinary icon

Cloudinary

Upload images and videos, generate images with AI from text prompts or reference images, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Asset → Get Asset

AI-generated

Summary

Retrieve detailed information about a specific Cloudinary asset using its immutable asset ID, with optional inclusion of various metadata and analysis fields.

Inputs

  • Asset ID (required) — The immutable asset_id of the asset to retrieve.
  • Options — Optional parameters to include additional data in the response such as accessibility analysis, predominant colors, detected coordinates (faces, custom crop regions), image metadata (IPTC, XMP, EXIF), page count for multi-page assets, perceptual hash (pHash), and pagination cursor for derived assets.

Output shape

A single object representing the detailed asset data retrieved from Cloudinary, including requested optional fields as specified by input options.

The output includes base asset information plus any optional metadata flags enabled. Pagination for derived assets is supported via the 'derived_next_cursor' option. Errors or failures to find the asset will be reported according to standard node error handling.

Examples

Example 1: Retrieve basic information of an asset by asset ID

Set the 'Asset ID' input with the target asset's immutable ID, leave options unset for default basic data.

Example 2: Retrieve asset with extended metadata

Set 'Asset ID' and enable options like 'image_metadata', 'faces', and 'colors' to include IPTC/EXIF metadata, face coordinates, and color analysis.

Links

Discussion