Skip to main content

Get the usage details via API

GET /usage/current

Gives you overview of current subscription and usage

🧾 Headers

HeaderTypeDescription
AuthorizationRequiredBearer YOUR_API_TOKEN — used to authenticate the request.

Response

{
"current_plan": "PREMIUM",
"current_period_start": "2025-06-09T16:36:35.192Z",
"current_period_end": "2025-07-09T16:36:35.192Z",
"current_period_usage_gb": 78.79,
"is_overage_available": true,
"limit_before_avarage_gb": 5000
}

GET /usage/list_periods

Gives you a list of all you subscription-periods including usage details

🧾 Headers

HeaderTypeDescription
AuthorizationRequiredBearer YOUR_API_TOKEN — used to authenticate the request.

Response

{
"subscription_periods": [
{
"subscription": {
"name": "FREE"
},
"current_period_start": "2025-05-09T16:36:35.192Z",
"current_period_end": "2025-06-09T16:36:35.192Z",
"usage": 4.22
},
{
"subscription": {
"name": "PREMIUM"
},
"current_period_start": "2025-05-09T16:36:35.192Z",
"current_period_end": "2025-06-09T16:36:35.192Z",
"usage": 555.76
},
{
"subscription": {
"name": "PREMIUM"
},
"current_period_start": "2025-06-09T16:36:35.192Z",
"current_period_end": "2025-07-09T16:36:35.192Z",
"usage": 78.79
}
]
}