Cloudinary icon

Cloudinary

Upload images and videos, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Library → Get Tags

AI-generated

Overview

This node operation retrieves tags from the Cloudinary media library for a specified resource type (Image, Video, or Raw). It allows filtering tags by a prefix and limits the number of tags returned. This is useful for managing and organizing media assets by their tags, enabling users to fetch relevant tags for categorization or search purposes.

Use Case Examples

  1. Fetch up to 100 image tags starting with 'summer' to organize seasonal media content.
  2. Retrieve video tags with a specific prefix to filter and manage video assets efficiently.

Properties

Name Meaning
Resource Type Specifies the type of resource (Image, Video, or Raw) to get tags for.
Prefix Filters tags to only those that start with the specified prefix.
Max Results Limits the maximum number of tags returned, between 1 and 500.

Output

JSON

  • json - Array of tags matching the specified criteria, each tag represented as a string or object depending on Cloudinary's API response.

Dependencies

  • Requires Cloudinary API credentials including cloud name, API key, and API secret for authentication.

Troubleshooting

  • Ensure valid Cloudinary credentials are provided; authentication errors will prevent tag retrieval.
  • If no tags are returned, verify the prefix filter and resource type are correctly set.
  • The maximum results parameter must be between 1 and 500; values outside this range may cause errors.

Links

Discussion