Skip to main content
GET
/
v1
/
usage
Get usage stats
curl --request GET \
  --url https://api.mediapi.dev/v1/usage \
  --header 'X-API-Key: <api-key>'
{
  "plan": "pro",
  "billing_period": "2026-03-01",
  "gb_used": 5.234,
  "gb_included": 25,
  "gb_remaining": 19.766,
  "total_jobs": 123
}

Authorizations

X-API-Key
string
header
required

Response

200 - application/json

Usage summary

plan
string
Example:

"pro"

billing_period
string
Example:

"2026-03-01"

gb_used
number
Example:

5.234

gb_included
number
Example:

25

gb_remaining
number
Example:

19.766

total_jobs
integer