v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-214977372.7 KB
Account Management API

Get account usage information

Get the account usage information between two dates. Note that the API response includes data from the start date while excluding data from the end date. In other words, the data covers the period starting from the specified start date up to, but not including, the end date.

For an agency account, the returned usage is aggregated across the agency and all of its child accounts that are billed to it.

The response is cached for 6 hours per account, date range and requested metrics.

get/v1/accounts/usage

Query parameters

startDatestring date required

Specify a startDate in YYYY-MM-DD format. It should be before the endDate. The difference between startDate and endDate should be less than 90 days.

endDatestring date required

Specify a endDate in YYYY-MM-DD format. It should be after the startDate. The difference between startDate and endDate should be less than 90 days.

Response

In the response, you will get different usage metrics.

bandwidthBytesinteger

Amount of bandwidth used in bytes.

mediaLibraryStorageBytesinteger

Storage used by media library in bytes.

videoProcessingUnitsCountinteger

Number of video processing units used.

extensionUnitsCountinteger

Number of extension units used.

originalCacheStorageBytesinteger

Storage used by the original cache in bytes.