Skip to main content
GET
Get usage and quota
Check your monthly usage and quota with your API key.

Authorizations

Authorization
string
header
required

Accepts one of three credential types (detected by format):

  • Session token (sess_...) — O(1) Redis lookup, 24h TTL. Preferred.
  • Google ID Token (JWT — three .-separated base64 segments) — calls Google tokeninfo API per request.
  • Service API Key (sk_live_...) — HMAC-SHA256 constant-time validation, never expires unless revoked.

Note: The web UI authenticates via a session httpOnly cookie (set during login). The cookie is checked first; the Authorization header is the fallback for programmatic clients.

Response

Usage information

plan_type
enum<string>
Available options:
free,
premium
Example:

"free"

total_bytes_this_month
integer<int64>
Example:

536870912

quota_bytes
integer<int64> | null
Example:

1099511627776

quota_remaining_bytes
integer<int64> | null
Example:

563165020864

percentage_used
number<float> | null
Example:

0.049