Skip to main content
GET
Get account usage

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Query Parameters

from
string

Start of the range, as a Unix timestamp in seconds. Omit for no lower bound (usage is counted from the start of the account's history).

Example:

"1708526022"

to
string

End of the range, as a Unix timestamp in seconds. Defaults to now.

Example:

"1708612422"

Response

The currently used traffic for the account.

id
string

The account ID (uuid).

Example:

"57ed834f-f6f6-47d4-ab23-5674d7866b32"

usage
integer

The amount of bytes of traffic used so far by the account

Example:

12345

limit
integer

The allocated traffic allowance in bytes.

Example:

1000000