Usage

Retrieves comprehensive usage metrics and account statistics

GET
/v1_1/{cloud_name}/usage

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.

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your product environment.

Query Parameters

date?string

The date for which to retrieve usage details (YYYY-MM-DD). If not specified, returns the current usage.

Match^\d{4}-\d{2}-\d{2}$
Formatdate

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1_1/my_cloud/usage"
{  "plan": "string",  "last_updated": "2019-08-24",  "date_requested": "2019-08-24T14:15:22Z",  "transformations": {    "usage": 0  },  "objects": {    "usage": 0,    "limit": 0,    "used_percent": 0.1  },  "bandwidth": {    "usage": 0,    "limit": 0,    "used_percent": 0.1  },  "storage": {    "usage": 0,    "limit": 0,    "used_percent": 0.1  },  "impressions": {    "usage": 0  },  "seconds_delivered": {    "usage": 0  },  "resources": 0,  "derived_resources": 0,  "requests": 0,  "media_limits": {    "image_max_size_bytes": 0,    "video_max_size_bytes": 0,    "raw_max_size_bytes": 0,    "image_max_px": 0,    "asset_max_total_px": 0  }}