Cloudinary Public API

View shared Permissions system utilities, including the system roles and policies catalog, Cedar policy validation, and the Cedar schema. These endpoints are publicly accessible and don't require authentication.

GitHub OpenAPI

Operations 3

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

GET /v2/accounts/permissions/public/catalog List system roles and policies · Get system roles and policies catalog #
Ask an LLM
“What system roles and policies are predefined for my account?”
“Which permission roles can I assign to users?”
Tell an agent
Show the system roles and policies catalog.
List every predefined role and its policies.
POST /v2/accounts/permissions/public/validate Validate a Cedar policy · Validate a Cedar policy #
Ask an LLM
“Can I check a Cedar policy for syntax errors before saving it?”
“How do I test a policy statement?”
Tell an agent
Validate the Cedar policy {policy}.
Check policy {policy} for validity.
GET /v2/accounts/permissions/public/schema Get the Cedar policy schema · Get Cedar schema #
Ask an LLM
“Where can I see the Cedar policy schema?”
“What fields does a Cedar policy need?”
Tell an agent
Get the Cedar schema.
Show the policy schema definition.

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-public-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-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Public API
  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
  x-refined-note:
  - x-cld-module-context differs across the merged source definitions and was not carried
  - x-cld-module-name differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Public across 3 of this provider''s published API definitions: cloudinary-provisioning-schema.yml, cloudinary-permissions-openapi.yml, cloudinary-provisioning-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: []
tags:
- name: Public
  description: View shared Permissions system utilities, including the system roles and policies catalog, Cedar policy validation, and the Cedar schema. These endpoints are publicly accessible and don't require authentication.
paths:
  /v2/accounts/permissions/public/catalog:
    get:
      x-speakeasy-name-override: getCatalog
      x-speakeasy-mcp:
        name: get-catalog
        scopes:
        - admin
        title: Get System Roles and Policies Catalog
        readOnlyHint: true
        idempotentHint: true
      summary: Get system roles and policies catalog
      description: Retrieves the catalog of predefined system roles and their associated policies.
      operationId: getSystemRolesAndPoliciesCatalog
      tags:
      - Public
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemRolesAndPoliciesCatalogResponse'
        '400':
          description: Bad request
    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.
  /v2/accounts/permissions/public/validate:
    post:
      x-speakeasy-name-override: validatePolicy
      x-speakeasy-mcp:
        name: validate-policy
        scopes:
        - admin
        title: Validate Cedar Policy
        readOnlyHint: true
        idempotentHint: true
      summary: Validate a Cedar policy
      operationId: validateCedarPolicy
      tags:
      - Public
      requestBody:
        description: Cedar policy.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateCedarPolicyRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateCedarPolicyResponse'
              examples:
                ValidateCedarPolicyResponseExample:
                  $ref: '#/components/examples/ValidateCedarPolicyResponseExample'
        '400':
          description: Bad request
    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.
  /v2/accounts/permissions/public/schema:
    get:
      x-speakeasy-name-override: getSchema
      x-speakeasy-mcp:
        name: get-schema
        scopes:
        - admin
        title: Get Cedar Schema
        readOnlyHint: true
        idempotentHint: true
      summary: Get Cedar schema
      operationId: getCedarSchema
      tags:
      - Public
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CedarSchemaResponse'
        '400':
          description: Bad request
    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.
components:
  examples:
    ValidateCedarPolicyResponseExample:
      summary: Invalid Cedar policy
      value:
        valid: false
        errors:
        - cedar_message: invalid_principal
          cedar_code: ACCOUNTS_00002
  schemas:
    SystemRolesAndPoliciesCatalogResponse:
      type: object
      required:
      - catalog
      properties:
        catalog:
          type: object
          example:
            system_policies:
            - id: cld::policy::global::ml::access
              name: Access the Media Library
              description: Access the Media Library within the Console. Without this permission, users can't view any assets.
              category: Management
              sub_category: General operations
              permission_type: global
              scope_type: prodenv
              policy: permit(principal, action, resource == Cloudinary::Feature::"cld::global::ml::access");
            - id: cld::policy::content::folder::view_download
              name: View assets
              description: View all assets in the folder and its nested subfolders.
              category: Folder
              sub_category: View and download
              permission_type: content
              scope_type: prodenv
              policy: permit(principal, action == Cloudinary::Action::"read", resource is Cloudinary::Asset) when { resource.ancestor_ids.contains("<folder_id>") };
            system_roles:
            - id: cld::role::prodenv::master_admin
              name: Master Admin
              description: Fully manage product environment, including settings, product features, dashboards, and reports.
              permission_type: global
              scope_type: prodenv
              system_policy_ids:
              - cld::policy::global::ml::access
              - cld::policy::global::folder_and_asset_management::view
              - cld::policy::global::api_keys::manage
            - id: cld::role::folder::viewer
              name: Viewer
              description: View and download public assets.
              permission_type: content
              scope_type: prodenv
              system_policy_ids:
              - cld::policy::content::folder::view_download
              - cld::policy::content::folder::download_public_assets
    ValidateCedarPolicyResponse:
      type: object
      required:
      - valid
      properties:
        valid:
          type: boolean
          example: false
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CedarError'
    CedarError:
      type: object
      required:
      - cedar_message
      - cedar_code
      properties:
        cedar_message:
          type: string
        cedar_code:
          type: string
    ValidateCedarPolicyRequest:
      type: object
      required:
      - policy
      properties:
        policy:
          type: string
          description: The Cedar policy statement to validate.
          example: permit(principal == Cloudinary::APIKy::"1234", action == Cloudinary::Action::"read", resource is Cloudinary::Folder ) when {resource.ancestor_ids.contains("asdfjkl12347890")} ;
    CedarSchemaResponse:
      type: object
      required:
      - schema
      properties:
        schema:
          type: object
          example:
            Cloudinary:
              actions:
                create:
                  appliesTo:
                    principalTypes:
                    - APIKey
                    - User
                    - Group
                    resourceTypes:
                    - Folder
                    - Asset
                    - Collection
                read:
                  appliesTo:
                    principalTypes:
                    - APIKey
                    - User
                    - Group
                    resourceTypes:
                    - Folder
                    - Asset
                    - Feature
                move:
                  appliesTo:
                    principalTypes:
                    - APIKey
                    - User
                    - Group
                    resourceTypes:
                    - Asset
                    - Folder
                    context:
                      type: Record
                      attributes:
                        direction:
                          type: String
                          required: false
              entityTypes:
                User:
                  shape:
                    type: Record
                    attributes:
                      root:
                        type: Boolean
                        required: false
                Asset:
                  shape:
                    type: Record
                    attributes:
                      ancestor_ids:
                        type: Set
                        element:
                          type: String
                        required: true
                      resource_type:
                        type: String
                        required: true
                Folder:
                  shape:
                    type: Record
                    attributes:
                      ancestor_ids:
                        type: Set
                        element:
                          type: String
                        required: true
                      name:
                        type: String
                        required: true
            MediaFlows:
              actions:
                read:
                  appliesTo:
                    principalTypes:
                    - Cloudinary::User
                    - Cloudinary::Group
                    resourceTypes:
                    - EasyFlow
                    - PowerFlow
                    - LogEntry
              entityTypes:
                EasyFlow: {}
                PowerFlow: {}
                LogEntry: {}
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
x-refined-from:
- cloudinary-provisioning-schema.yml
- cloudinary-permissions-openapi.yml
- cloudinary-provisioning-openapi.yml