Skip to navigation

Get this month's usage

Your plan, and the bytes and files your downloads have counted this calendar month (UTC), in total and by key, exchange and family. It covers every key of your account, not only the one that asks. Reading it is never counted.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Response

The month's usage and the plan.
monthstring

The month, yyyy-MM, in UTC.

monthly_byteslong or null

Your plan: the bytes a calendar month may count. null means no limit; 0 means no download is admitted.

byteslong
The bytes counted this month.
fileslong
The files counted this month.
breakdownlist of objects

The same downloads by key, exchange and family, ordered by those three. Its lines sum to bytes and files.

Errors

401
Get Usage Request Unauthorized Error
403
Get Usage Request Forbidden Error
429
Get Usage Request Too Many Requests Error
503
Get Usage Request Service Unavailable Error