Cloudinary Usage API

Gets usage details

GitHub OpenAPI

Operations 1

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 /v1_1/{cloud_name}/usage Get storage, credits and bandwidth usage · Retrieves comprehensive usage metrics and account statistics #
Ask an LLM
“How much storage and bandwidth has my account used this month?”
“Can I see usage statistics for a specific date?”
Tell an agent
Show usage for {cloud_name}.
Get usage for {cloud_name} on {date}.

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-usage-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-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Usage 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 usage 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:
- name: Usage
  description: Gets usage details
paths:
  /v1_1/{cloud_name}/usage:
    get:
      x-speakeasy-mcp:
        name: get-usage-details
        scopes:
        - admin
        title: Get Usage Details
        readOnlyHint: true
        idempotentHint: true
      summary: Retrieves comprehensive usage metrics and account statistics
      description: A report on the status of product environment usage, including storage, credits, bandwidth, requests, number of resources, and add-on usage. No date parameter needed to get current usage statistics.
      tags:
      - Usage
      operationId: getUsage
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      - name: date
        in: query
        required: false
        description: The date for which to retrieve usage details (YYYY-MM-DD). If not specified, returns the current usage.
        schema:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
      responses:
        '200':
          description: Usage details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/usage_response'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
    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:
  schemas:
    api_error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
          - message
      required:
      - error
    usage_response:
      type: object
      properties:
        plan:
          type: string
          description: The current plan name
        last_updated:
          type: string
          format: date
          description: When the usage data was last updated
        date_requested:
          type: string
          format: date-time
          description: The date for which usage was requested
        transformations:
          type: object
          properties:
            usage:
              type: integer
              description: Number of transformations used
        objects:
          type: object
          properties:
            usage:
              type: integer
              description: Number of objects used
            limit:
              type: integer
              description: Object limit for the plan
            used_percent:
              type: number
              format: float
              description: Percentage of object limit used
        bandwidth:
          type: object
          properties:
            usage:
              type: integer
              description: Bandwidth used in bytes
            limit:
              type: integer
              description: Bandwidth limit for the plan
            used_percent:
              type: number
              format: float
              description: Percentage of bandwidth limit used
        storage:
          type: object
          properties:
            usage:
              type: integer
              description: Storage used in bytes
            limit:
              type: integer
              description: Storage limit for the plan
            used_percent:
              type: number
              format: float
              description: Percentage of storage limit used
        impressions:
          type: object
          properties:
            usage:
              type: integer
              description: Number of impressions used
        seconds_delivered:
          type: object
          properties:
            usage:
              type: integer
              description: Number of seconds delivered
        resources:
          type: integer
          description: Number of resources stored
        derived_resources:
          type: integer
          description: Number of derived resources
        requests:
          type: integer
          description: Number of requests made
        media_limits:
          type: object
          description: Upload size and pixel limits
          properties:
            image_max_size_bytes:
              type: integer
              description: Maximum size for images in bytes
            video_max_size_bytes:
              type: integer
              description: Maximum size for videos in bytes
            raw_max_size_bytes:
              type: integer
              description: Maximum size for raw files in bytes
            image_max_px:
              type: integer
              description: Maximum pixels for images
            asset_max_total_px:
              type: integer
              description: Maximum total pixels for assets
  parameters:
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name of your product environment.
      example: my_cloud
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            asset_management: Allows managing assets, including reading, updating, and deleting.
            upload: Allows uploading new assets.
            media_generation: Generate media
x-refined-from:
- cloudinary-api-schema.yml
- cloudinary-asset-management-openapi.yml
- cloudinary-platform-openapi.yml