> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/design/cloudinary.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Cloudinary

Cloudinary is a media management platform. Manage assets, folders, tags, metadata, transformations and upload presets.

![Cloudinary logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-3e87a13b80032596aacc723df5bedbd1af6d78a5%2Fcloudinary.png?alt=media)

|                    |                                                                              |
| ------------------ | ---------------------------------------------------------------------------- |
| **Category**       | [Design](https://docs.fastn.ai/connectors/catalog/design.md)                 |
| **Website**        | [cloudinary.com](https://cloudinary.com)                                     |
| **Authentication** | Username and password                                                        |
| **Slug**           | `cloudinary`                                                                 |
| **On fastn.ai**    | [Embed Cloudinary in your product](https://fastn.ai/integrations/cloudinary) |

## Setup

Your customers enter their username and password for Cloudinary when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Cloudinary from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Cloudinary**.
2. Select **Connect** on the Cloudinary card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Cloudinary's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Context To Assets</td><td><code>addContext</code></td><td>Upload API: add contextual key/value metadata to one or more assets by public_id.</td></tr><tr><td>Add Related Assets</td><td><code>addRelatedAssets</code></td><td>Relate an asset (by asset ID) to up to 10 other assets (by asset IDs). Bidirectional. Admin API</td></tr><tr><td>Add Tag</td><td><code>addTag</code></td><td>Add a single tag to one or more assets. Upload API with command=add.</td></tr><tr><td>Create Folder</td><td><code>createFolder</code></td><td>Create a new (empty) folder at the given path. Admin API</td></tr><tr><td>Create Metadata Field</td><td><code>createMetadataField</code></td><td>Admin API: create a new structured metadata field (string, integer, date, enum, set).</td></tr><tr><td>Create Multi Animated Asset</td><td><code>createMulti</code></td><td>Upload API: create a single animated GIF/WebP/PDF from all assets sharing a tag (multi method).</td></tr><tr><td>Create Named Transformation</td><td><code>createTransformation</code></td><td>Create a new named transformation. Admin API with the transformation string.</td></tr><tr><td>Create Notification Trigger</td><td><code>createTrigger</code></td><td>Register a webhook notification URL trigger. Admin API Each trigger links one event_type to one notification URI.</td></tr><tr><td>Create Streaming Profile</td><td><code>createStreamingProfile</code></td><td>Create a custom adaptive streaming profile. Admin API representations is an array of {transformation:[{width,height,bit_rate,video_codec,...}]} objects.</td></tr><tr><td>Create Upload Mapping</td><td><code>createUploadMapping</code></td><td>Create an upload mapping that maps a Cloudinary folder to a remote URL prefix (auto-upload / lazy migration). Admin API</td></tr></tbody></table>

<details>

<summary>View 66 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Upload Preset</td><td><code>createUploadPreset</code></td><td>Create a new upload preset with default upload parameters (folder, tags, transformation, unsigned, etc.). Admin API</td></tr><tr><td>Delete Derived Resources</td><td><code>deleteDerivedResources</code></td><td>Delete derived assets by their derived resource IDs (up to 100). Derived IDs come from Get Resource details. Admin API</td></tr><tr><td>Delete Folder</td><td><code>deleteFolder</code></td><td>Delete an empty folder. The folder must contain no assets. Admin API</td></tr><tr><td>Delete Metadata Field</td><td><code>deleteMetadataField</code></td><td>Admin API: delete a structured metadata field definition by external_id.</td></tr><tr><td>Delete Metadata Field Datasource Entries</td><td><code>deleteMetadataFieldDatasourceEntries</code></td><td>Soft-delete (block, set inactive) datasource entries of a metadata field. Restorable via Restore Metadata Field Datasource Entries. Admin API</td></tr><tr><td>Delete Notification Trigger</td><td><code>deleteTrigger</code></td><td>Delete a global webhook notification trigger by id. Used by the webhook unsubscription flow. Admin API</td></tr><tr><td>Delete Or Revert Streaming Profile</td><td><code>deleteStreamingProfile</code></td><td>Delete a custom streaming profile, or revert a modified built-in profile to its original settings. Admin API</td></tr><tr><td>Delete Related Assets</td><td><code>deleteRelatedAssets</code></td><td>Unrelate an asset (by asset ID) from other assets (by asset IDs). Bidirectional. Admin API</td></tr><tr><td>Delete Resources</td><td><code>deleteResources</code></td><td>Delete assets by public_ids (or by prefix/all). Optionally invalidate CDN cache and keep original. Admin API</td></tr><tr><td>Delete Resources By Asset IDs</td><td><code>deleteResourcesByAssetIds</code></td><td>Delete assets by their immutable asset IDs (up to 100). Optionally only derived assets (keep_original) or specific transformations. Admin API</td></tr><tr><td>Delete Transformation</td><td><code>deleteTransformation</code></td><td>Delete a named transformation (or clear a used transformation's derived assets). Admin API</td></tr><tr><td>Delete Upload Mapping</td><td><code>deleteUploadMapping</code></td><td>Delete the upload mapping for a folder. Admin API</td></tr><tr><td>Delete Upload Preset</td><td><code>deleteUploadPreset</code></td><td>Delete an upload preset by name. Admin API</td></tr><tr><td>Destroy Asset</td><td><code>destroyAsset</code></td><td>Immediately delete a single asset by public_id and remove it from the CDN. Upload API</td></tr><tr><td>Explicit (Apply Operations)</td><td><code>explicitAsset</code></td><td>Apply operations to an already-uploaded asset (e.g. generate eager transformations, set tags/context, trigger background removal/moderation) without re-uploading. Upload API</td></tr><tr><td>Explode Asset</td><td><code>explodeAsset</code></td><td>Upload API: explode a multi-page PDF (or animated asset) into individual per-page derived assets.</td></tr><tr><td>Generate Archive</td><td><code>generateArchive</code></td><td>Upload API: generate a ZIP archive of assets selected by public_ids, tags, or prefixes.</td></tr><tr><td>Generate Sprite</td><td><code>generateSprite</code></td><td>Upload API: generate a single sprite image (and CSS) from all assets sharing a tag.</td></tr><tr><td>Get Metadata Field</td><td><code>getMetadataField</code></td><td>Admin API: get a single structured metadata field definition by its external_id.</td></tr><tr><td>Get Resource By Asset ID</td><td><code>getResourceByAssetId</code></td><td>Admin API: get full details for a single asset by its asset_id.</td></tr><tr><td>Get Resource By Public ID</td><td><code>getResource</code></td><td>Get details of a single asset by public_id, including derived assets, colors, faces, exif and metadata when requested. Admin API</td></tr><tr><td>Get Streaming Profile</td><td><code>getStreamingProfile</code></td><td>Get details of a single streaming profile (built-in or custom) by name, including its representations. Admin API</td></tr><tr><td>Get Transformation</td><td><code>getTransformation</code></td><td>Get details of a single transformation by its name/string, including derived assets. Admin API</td></tr><tr><td>Get Upload Mapping</td><td><code>getUploadMapping</code></td><td>Get the upload mapping for a single folder. Admin API Returns the folder and its mapped URL template.</td></tr><tr><td>Get Upload Preset</td><td><code>getUploadPreset</code></td><td>Get the details and settings of a single upload preset by name. Admin API</td></tr><tr><td>Get Usage</td><td><code>getUsage</code></td><td>Get a report on account usage details - storage, transformations, bandwidth, requests, and plan limits. Admin API (optionally for a specific date).</td></tr><tr><td>Get Usage By Date</td><td><code>getUsageByDate</code></td><td>Admin API: get account usage details for a specific date. Returns the same structure as getUsage but for the given day.</td></tr><tr><td>List Metadata Fields</td><td><code>listMetadataFields</code></td><td>Admin API: list all structured metadata field definitions in the product environment.</td></tr><tr><td>List Notification Triggers</td><td><code>listTriggers</code></td><td>List all global webhook notification trigger URLs configured for the product environment. Admin API</td></tr><tr><td>List Resources</td><td><code>listResources</code></td><td>List assets (resources) of a given type and delivery type (e.g. image/upload). Supports pagination, prefix filtering, tags/context/metadata inclusion. Admin API</td></tr><tr><td>List Resources By Asset Folder</td><td><code>listResourcesByAssetFolder</code></td><td>List assets located in a given asset folder (dynamic folder mode). Admin API</td></tr><tr><td>List Resources By Asset IDs</td><td><code>listResourcesByAssetIds</code></td><td>Admin API: fetch details for multiple assets in one call by their asset_ids.</td></tr><tr><td>List Resources By Context</td><td><code>listResourcesByContext</code></td><td>Admin API: list assets that have a contextual metadata key (and optional value).</td></tr><tr><td>List Resources By Moderation</td><td><code>listResourcesByModeration</code></td><td>Admin API: list assets in a given moderation status (pending, approved, rejected) for a moderation kind.</td></tr><tr><td>List Resources By Public IDs</td><td><code>listResourcesByPublicIds</code></td><td>Get details of multiple assets (up to 100) of a resource type and delivery type by their public IDs. Admin API with public_ids[].</td></tr><tr><td>List Resources By Tag</td><td><code>listResourcesByTag</code></td><td>Admin API: list assets of a given resource_type that have the specified tag.</td></tr><tr><td>List Root Folders</td><td><code>listFolders</code></td><td>List all root folders in the product environment. Admin API</td></tr><tr><td>List Streaming Profiles</td><td><code>listStreamingProfiles</code></td><td>List all built-in and custom adaptive streaming profiles. Admin API</td></tr><tr><td>List Subfolders</td><td><code>listSubfolders</code></td><td>List immediate subfolders of a given parent folder. Admin API</td></tr><tr><td>List Tags</td><td><code>listTags</code></td><td>List all tags currently assigned to assets of a given resource type. Admin API</td></tr><tr><td>List Transformations</td><td><code>listTransformations</code></td><td>List all defined transformations (named and used). Admin API</td></tr><tr><td>List Upload Mappings</td><td><code>listUploadMappings</code></td><td>List all upload mappings (folder -> remote URL prefix) in the product environment. Admin API Supports max_results/next_cursor paging.</td></tr><tr><td>List Upload Presets</td><td><code>listUploadPresets</code></td><td>List all upload presets defined in the product environment. Admin API</td></tr><tr><td>Ping</td><td><code>ping</code></td><td>Test connectivity and credentials. Returns {status: 'ok'}. Admin API</td></tr><tr><td>Remove All Tags</td><td><code>removeAllTags</code></td><td>Remove all tags from the given assets. Upload API with command=remove_all.</td></tr><tr><td>Remove Tag</td><td><code>removeTag</code></td><td>Remove a single tag from one or more assets. Upload API with command=remove.</td></tr><tr><td>Rename Asset</td><td><code>renameAsset</code></td><td>Rename / move an asset to a new public_id, optionally overwriting and invalidating the CDN. Upload API</td></tr><tr><td>Rename Folder</td><td><code>renameFolder</code></td><td>Admin API: rename/move a folder from one path to another.</td></tr><tr><td>Replace Tags</td><td><code>replaceTags</code></td><td>Replace all tags on the given assets with the supplied tag(s). Upload API with command=replace.</td></tr><tr><td>Restore Metadata Field Datasource Entries</td><td><code>restoreMetadataFieldDatasourceEntries</code></td><td>Restore (unblock) previously deleted datasource entries of a metadata field. Admin API</td></tr><tr><td>Restore Resources</td><td><code>restoreResources</code></td><td>Restore previously deleted assets (from backup) by public_ids, optionally restoring specific versions. Admin API</td></tr><tr><td>Restore Resources By Asset IDs</td><td><code>restoreResourcesByAssetIds</code></td><td>Restore backed-up (deleted or existing) assets by their asset IDs (up to 100), optionally a specific version per asset. Requires backup enabled. Admin API</td></tr><tr><td>Search Folders</td><td><code>searchFolders</code></td><td>Search asset folders with a Lucene-like expression (e.g. name:prod* AND path:marketing/*). With no expression returns the 50 most recently created folders. Admin API</td></tr><tr><td>Search Resources</td><td><code>searchResources</code></td><td>Advanced asset search using the Cloudinary search Lucene-like expression syntax, with sorting, aggregation, field selection and pagination. Admin API</td></tr><tr><td>Update Access Mode By Tag</td><td><code>updateAccessModeByTag</code></td><td>Admin API: bulk-update the access_mode (public/authenticated) of uploaded assets selected by tag.</td></tr><tr><td>Update Assets Metadata</td><td><code>updateAssetsMetadata</code></td><td>Upload API: set structured metadata field values on one or more assets by public_id.</td></tr><tr><td>Update Metadata Field</td><td><code>updateMetadataField</code></td><td>Admin API: update an existing structured metadata field definition by external_id.</td></tr><tr><td>Update Metadata Field Datasource</td><td><code>updateMetadataFieldDatasource</code></td><td>Add or update datasource entries of an enum/set structured metadata field. Entries with an existing external_id are updated, others are added. Admin API</td></tr><tr><td>Update Notification Trigger</td><td><code>updateTrigger</code></td><td>Update an existing webhook notification trigger. Admin API</td></tr><tr><td>Update Resource</td><td><code>updateResource</code></td><td>Update an existing asset's details - tags, context, metadata, moderation status, display name. Admin API</td></tr><tr><td>Update Resource By Asset ID</td><td><code>updateResourceByAssetId</code></td><td>Update attributes of an asset identified by its immutable asset ID (display name, asset folder, tags, context, metadata, moderation status, coordinates). Admin API</td></tr><tr><td>Update Streaming Profile</td><td><code>updateStreamingProfile</code></td><td>Update an existing streaming profile (custom, or override a built-in one) by name. Admin API Replaces the representations list.</td></tr><tr><td>Update Transformation</td><td><code>updateTransformation</code></td><td>Update an existing named transformation - change its definition or its allowed_for_strict flag. Admin API</td></tr><tr><td>Update Upload Mapping</td><td><code>updateUploadMapping</code></td><td>Update an existing upload mapping folder with a new URL template. Admin API</td></tr><tr><td>Update Upload Preset</td><td><code>updateUploadPreset</code></td><td>Update an existing upload preset's settings. Admin API</td></tr><tr><td>Upload Asset</td><td><code>uploadAsset</code></td><td>Upload a new asset (image/video/raw) from a remote URL, base64 data URI, or S3/GCS reference. Supports public_id, folder, tags, context, transformations, eager, overwrite, and more. Upload API Note: server-side calls authenticate via Basic auth (api_key/api_secret).</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Asset Deleted</td><td><code>delete</code></td><td>Sent when assets are deleted via the API or console.</td></tr><tr><td>Asset Renamed</td><td><code>rename</code></td><td>Sent when an asset is renamed/moved.</td></tr><tr><td>Create Folder</td><td><code>create_folder</code></td><td>Sent when a folder is created.</td></tr><tr><td>Delete</td><td><code>delete</code></td><td>Sent when assets are deleted.</td></tr><tr><td>Eager Transformation</td><td><code>eager</code></td><td>Sent when asynchronous eager transformations requested via upload/explicit complete.</td></tr><tr><td>Eager Transformation Done</td><td><code>eager</code></td><td>Sent when asynchronous eager transformations requested at upload time have finished generating.</td></tr><tr><td>Folder Created</td><td><code>create_folder</code></td><td>Sent when a new folder is created.</td></tr><tr><td>Moderation</td><td><code>moderation</code></td><td>Sent when manual or automatic moderation (e.g. WebPurify, AWS Rekognition, manual) completes for an asset.</td></tr><tr><td>Moderation Result</td><td><code>moderation</code></td><td>Sent when a moderation (manual, aws_rek, webpurify, etc.) result is available for an asset.</td></tr><tr><td>Multi (Animated) Generated</td><td><code>multi</code></td><td>Sent when an asynchronous multi (animated GIF/video) generation request completes.</td></tr></tbody></table>

<details>

<summary>View 7 more events</summary>

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Rename</td><td><code>rename</code></td><td>Sent when an asset is renamed.</td></tr><tr><td>Resource Metadata Changed</td><td><code>resource_metadata_changed</code></td><td>Sent when structured metadata of an asset changes.</td></tr><tr><td>Sprite Generated</td><td><code>sprite</code></td><td>Sent when an asynchronous sprite generation request completes.</td></tr><tr><td>Tags Changed</td><td><code>tags_changed</code></td><td>Sent when tags on an asset are added, removed, or replaced.</td></tr><tr><td>Update</td><td><code>update</code></td><td>Sent when an asset's metadata, tags, or context are updated.</td></tr><tr><td>Upload</td><td><code>upload</code></td><td>Sent when an asset finishes uploading (including asynchronous/eager processing of the originally uploaded asset).</td></tr><tr><td>Upload Complete</td><td><code>upload</code></td><td>Sent when an asset upload finishes processing. Carries the full upload response (public_id, version, format, bytes, url, etc.).</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/design/cloudinary.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
