Read your own usage

Changed on

Monthly totals for the last 12 months with calls, the last 30 UTC days (daily) and the current-month quota. It is what the dashboard reads. Send a full API key (zn_...) or a dashboard sign-in token as the bearer token. The response always describes the account that owns the credential: no query parameter, body or header can point it at another account. Reading usage does not count as a call and does not change the key's last-used time. The path includes the stage: it is served at /prod/usage, not at /usage. This endpoint does not send RateLimit headers.

get/prod/usage

Request

  • Base URL: https://api.usezn.com
  • URL: https://api.usezn.com/prod/usage
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Response

Usage of the caller's account.

decidedByTrackedSincestring required

Date the rules/model split of blocks started (2026-10-14).

dailyCompleteboolean required

false when the history was too large to read in full, so the oldest days may be undercounted.

Changes