Cloudinary Assets API

Enables you to manage all the resources (assets) stored in your product environment.

GitHub OpenAPI

Operations 29

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1_1/{cloud_name}/{resource_type}/rename Rename an uploaded asset · Updates an existing asset's identifier (public ID) and optionally other… #
Ask an LLM
“How do I change an uploaded asset's public ID?”
“Can I overwrite a target asset when renaming it?”
Tell an agent destructive · confirm first
Rename asset {from} to {to} in {resource_type}, cloud {cloud_name}.
Overwrite target asset {to} ({overwrite}) when renaming asset {from} in {resource_type}, cloud {cloud_name}.
GET /v1_1/{cloud_name}/{resource_type}/download Download an asset by public ID · Generates a download link for a specific asset (image) #
Ask an LLM
“How do I download an image or video by its public ID?”
“Can I convert an asset to a different format when downloading it?”
Tell an agent
Download {cloud_name} asset {public_id} as {format}.
Download {cloud_name} {resource_type} {public_id} transformed by {transformation}.
POST /v1_1/{cloud_name}/{resource_type}/explicit Apply actions to an existing asset · Apply operations on an existing asset #
Ask an LLM
“How do I add a tag or change metadata on an asset already in Cloudinary?”
“Can I force an existing video transformation to regenerate?”
Tell an agent
Apply actions to asset {public_id} in {resource_type}, cloud {cloud_name}.
Regenerate video transformations on asset {public_id} in {resource_type}, cloud {cloud_name}, overwrite {overwrite}.
POST /v1_1/{cloud_name}/{resource_type}/generate_archive Create a downloadable archive of assets · Creates an archive (ZIP or TGZ file) that contains a set of assets from your… #
Ask an LLM
“How do I zip a set of images and videos together for download?”
“Can I generate an archive of assets matching a tag or prefix?”
Tell an agent
Create a {format} archive of {cloud_name} {resource_type} assets {public_ids}.
Generate a {format} archive of {cloud_name} {resource_type} assets tagged {tags}.
GET /v1_1/{cloud_name}/download_backup Download a backup copy of an asset · Download a backup copy of an asset #
Ask an LLM
“How do I restore an older version of an asset from its backup?”
“Can I download a specific backup version of a resource?”
Tell an agent
Download backup {version} of asset {asset} in {cloud_name}.
Restore {cloud_name} resource {asset} from backup version {version}.
POST /v1_1/{cloud_name}/asset/destroy Delete an asset by its asset ID · Delete asset by asset ID #
Ask an LLM
“How do I permanently delete an asset using its immutable asset ID?”
“Can I invalidate the CDN cache when deleting an asset by ID?”
Tell an agent destructive · confirm first
Delete asset {asset} in {cloud_name}.
Permanently remove {cloud_name} asset {asset} and invalidate the CDN.
GET /v1_1/{cloud_name}/asset/download Download an asset by asset ID · Download an asset by asset ID #
Ask an LLM
“How do I download an asset when I only have its asset ID?”
“Can I convert the asset to a different format or rename the downloaded file?”
Tell an agent
Download asset {asset_id} from {cloud_name} as {format}.
Download asset {asset_id} from {cloud_name} as {attachment}, renaming it {target_filename}.
GET /v1_1/{cloud_name}/resources List the resource types in the account · Get resource types #
Ask an LLM
“What resource types (image, video, raw) are in my Cloudinary account?”
“Which asset types does the account support?”
Tell an agent
List the resource types in {cloud_name}.
Show all asset types available in {cloud_name}.
GET /v1_1/{cloud_name}/resources/image List image assets · Get image assets #
Ask an LLM
“How do I list all the images in my account?”
“Can I list images that start with a given public ID prefix?”
Tell an agent
List {cloud_name} images.
Show {cloud_name} images whose public ID starts with {prefix}.
GET /v1_1/{cloud_name}/resources/video List video assets · Get video assets #
Ask an LLM
“How do I list all the videos in my account?”
“Can I list videos uploaded after a certain date?”
Tell an agent
List {cloud_name} videos.
Show {cloud_name} videos uploaded since {start_at}.
GET /v1_1/{cloud_name}/resources/raw List raw assets · Get raw assets #
Ask an LLM
“How do I list raw files like PDFs and documents?”
“Can I list raw assets tagged with a specific tag?”
Tell an agent
List {cloud_name} raw files.
Show {cloud_name} raw files tagged {tags}.
GET /v1_1/{cloud_name}/resources/by_asset_folder List resources in an asset folder · Get resources by asset folder #
Ask an LLM
“How do I list the assets inside a specific folder?”
“Can I list only one resource type from a folder?”
Tell an agent
List resources in {cloud_name} folder {folder}.
Show {resource_type} assets in {cloud_name} folder {folder}.
GET /v1_1/{cloud_name}/resources/by_asset_ids Look up resources by asset ID · Get resources by asset IDs #
Ask an LLM
“How do I get details for several resources using their asset IDs?”
“Can I include fields other than public ID and asset ID in the lookup result?”
Tell an agent
Get resources with asset IDs {asset_ids} in {cloud_name}.
Look up resources {asset_ids} in {cloud_name} with fields {fields}.
GET /v1_1/{cloud_name}/resources/{resource_type}/context List resources by context key and value · Get resources by context #
Ask an LLM
“How do I find assets that have a given context key and value?”
“Can I list resources matching a context key like 'status'?”
Tell an agent
List {cloud_name} {resource_type} resources where context key {key} is {value}.
Show {cloud_name} {resource_type} assets with context {key}.
GET /v1_1/{cloud_name}/resources/{resource_type}/moderations/{moderation_kind}/{moderation_status} List resources by moderation kind and status · Get resources by moderation kind and status #
Ask an LLM
“How do I find assets that were flagged by a moderation kind?”
“Can I list resources with a specific moderation status?”
Tell an agent
List {cloud_name} {resource_type} resources with moderation kind {kind} and status {status}.
Show {cloud_name} {resource_type} assets flagged as {status} by {kind}.
POST /v1_1/{cloud_name}/resources/restore Restore assets from backup by asset ID · Restore assets by asset ID #
Ask an LLM
“How do I restore deleted assets from their backup versions?”
“Can I restore specific versions of backed up assets?”
Tell an agent
Restore {cloud_name} assets {asset_ids} from backup.
Restore {cloud_name} assets {asset_ids} to versions {versions}.
GET /v1_1/{cloud_name}/resources/by_external_ids Get resources by external ID · Get resources by external IDs #
Ask an LLM
“How do I look up assets using their external ID?”
“Can I fetch resources by external ID instead of public ID?”
Tell an agent
Get {cloud_name} resources with external ID {external_ids}.
Fetch {cloud_name} resources by external ID {external_ids} and return their tags.
DELETE /v1_1/{cloud_name}/resources/{resource_type}/{type} Delete assets by public ID · Delete resources by public ID #
Ask an LLM
“How do I delete an uploaded asset with a known public ID?”
“Can I delete only derived assets while keeping the original up?”
Tell an agent destructive · confirm first
Delete assets {public_ids} of type {type} in {resource_type}, cloud {cloud_name}.
Delete all assets {public_ids} starting with prefix {prefix} of type {type} in {resource_type}, cloud {cloud_name}.
GET /v1_1/{cloud_name}/resources/{resource_type}/{type}/{public_id} Get an asset by public ID · Get resource by public ID #
Ask an LLM
“How do I look up a single image or video by its public ID?”
“Can I get face coordinates and dominant colors for an asset?”
Tell an agent
Get {cloud_name} {resource_type} {type} asset {public_id}.
Show {cloud_name} {resource_type} {type} asset {public_id} with dominant colors.
POST /v1_1/{cloud_name}/resources/{resource_type}/{type}/{public_id} Update an asset by public ID · Update asset by public ID #
Ask an LLM
“Can I change the tags or metadata of an asset using its public ID?”
“Is it possible to move an asset to a different folder by its public ID?”
Tell an agent
Update asset {public_id} in {cloud_name} of type {resource_type} ({type}) with tags {tags}.
Move public ID {public_id} to folder {asset_folder}.
GET /v1_1/{cloud_name}/resources/{asset_id} Get an asset by its asset ID · Get resource by asset ID #
Ask an LLM
“What are the details of an asset when I only have its asset ID?”
“Can I get the dominant colors and Exif metadata of an asset by its asset ID?”
Tell an agent
Get asset {asset_id} in {cloud_name}.
Show the asset ID {asset_id} in {cloud_name} with colors {colors} and faces {faces}.
PUT /v1_1/{cloud_name}/resources/{asset_id} Update an asset by its asset ID · Updates an existing asset's metadata, tags, and other attributes using its… #
Ask an LLM
“Can I change an asset's tags or metadata using its immutable asset ID?”
“Is it possible to set auto-tagging confidence on an asset by its asset ID?”
Tell an agent
Update asset {asset_id} in {cloud_name} with tags {tags}.
Set auto-tagging confidence to {auto_tagging} on asset {asset_id} in {cloud_name}.
GET /v1_1/{cloud_name}/tags/{resource_type} List tags on assets of a type · Retrieves a list of tags currently applied to assets in your Cloudinary account #
Ask an LLM
“What tags are currently applied to my images?”
“Can I list only the tags on assets that start with a given prefix?”
Tell an agent
List tags on {resource_type} assets in {cloud_name}.
List tags on {resource_type} assets in {cloud_name} starting with {prefix}.
DELETE /v1_1/{cloud_name}/resources/backup/{asset_id} Delete backup versions of an asset · Delete backed up versions #
Ask an LLM
“Can I permanently delete specific backup versions of an asset?”
“Is deleting an asset's backup versions reversible?”
Tell an agent destructive · confirm first
Delete backup versions {version_ids} of asset {asset_id} in {cloud_name}.
Permanently remove backups {version_ids} from asset {asset_id} in {cloud_name}.
DELETE /v1_1/{cloud_name}/derived_resources Delete derived resources by ID · Delete derived resources #
Ask an LLM
“Can I delete derived images or videos by their derived resource ID?”
“Is it possible to invalidate the CDN cache when deleting derived resources?”
Tell an agent destructive · confirm first
Delete derived resources {derived_resource_ids} in {cloud_name}.
Delete derived resources {derived_resource_ids} in {cloud_name} and invalidate the CDN cache ({invalidate}).
DELETE /v1_1/{cloud_name}/derived_resources/invalidate_by_urls Invalidate cached derived assets by URL · Invalidate derived assets by delivery URLs #
Ask an LLM
“Can I clear the CDN cache for derived assets behind specific delivery URLs?”
“Is it possible to skip usage reporting when invalidating derived assets by URL?”
Tell an agent destructive · confirm first
Invalidate cached derived assets for URLs {urls} in {cloud_name}.
Invalidate derived assets at {urls} in {cloud_name} and skip usage reporting ({skip_reporting}).
POST /v1_1/{cloud_name}/resources/get_resource Get an asset by public ID in a request body · Get the details of a single asset by body parameters #
Ask an LLM
“Can I fetch an asset's details when I only have its public ID and delivery type in a body?”
“Is there a way to read an asset's details from the search index instead of the canonical store?”
Tell an agent
Get {resource_type} asset {public_id} of kind {kind} in {cloud_name}.
Fetch {resource_type} asset {public_id} of kind {kind} in {cloud_name} from the search index ({with_elastic}).
POST /v1_1/{cloud_name}/resources/update Update an asset by public ID in a request body · Update the details of a single asset by body parameters #
Ask an LLM
“Can I update an asset's tags and metadata using a body request with its public ID?”
“Is it possible to set an asset's moderation status by its public ID in a request body?”
Tell an agent
Update {resource_type} asset {public_id} of kind {kind} in {cloud_name} with tags {tags}.
Set the moderation status of {resource_type} asset {public_id} of kind {kind} in {cloud_name} to {moderation_status}.
GET /v1_1/{cloud_name}/resources/by_container_id/{container_id} List assets in a folder by container ID · List the assets in a folder by container ID #
Ask an LLM
“Which assets are in a folder identified by its container ID?”
“Can I sort the assets in a folder by upload date?”
Tell an agent
List assets in container {container_id} in {cloud_name}.
List assets in container {container_id} in {cloud_name} sorted by {sort_by}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudinary:cloudinary-assets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudinary-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Assets API
  version: 0.7.10
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  description: 'Operations tagged assets across 3 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-asset-management-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
security:
- basicAuth: []
- oauth2:
  - asset_management
  - upload
  - media_generation
tags:


# --- truncated at 32 KB (159 KB total) ---
# Full source: https://artifacts.apis.io/cloudinary/openapi/cloudinary-assets-api-openapi.yml