GET /v1/usage

Quota + 30-day aggregate. Dashboard JWT (not API key).

Request

GET /v1/usage HTTP/1.1
Authorization: Bearer <jwt>

Response

{
  "quota": {
    "allowed": true,
    "freeRemaining": 432,
    "tokenBalance": 5000,
    "reason": null
  },
  "last30Days": {
    "completed": "1248",
    "failed":    "3",
    "bytes_in":  "1024000000",
    "bytes_out": "240000000"
  }
}

Daily breakdown

GET /v1/usage/daily returns 30 rows (zero-filled), one per day:

{
  "days": [
    { "day": "2026-04-25", "jobs": 0,   "bytes_in": 0,        "bytes_out": 0 },
    ...
    { "day": "2026-05-24", "jobs": 142, "bytes_in": 100000000, "bytes_out": 24000000 }
  ]
}