Skip to main content
Grantiva bills by Monthly Active Devices (MAD) — unique devices that attest at least once per billing period. These endpoints report MAD consumption against your tier’s limit.

Authentication

Both endpoints require a dashboard session (cookie-based). They are used by the dashboard’s MAD meter and upgrade banner. Responses are cached in Redis for 5 minutes per organization, so values may lag real-time attestation activity slightly.

Billing period

  • Paid plans (Stripe): the period follows your Stripe billing cycle; the period start is one month before the current period end.
  • Free plan: the period is the current UTC calendar month.

Get usage (canonical)

The canonical shape, used by the dashboard MAD meter. Response

Get usage (legacy)

The legacy shape, used by the dashboard upgrade banner. Includes next-tier upsell fields. Response
Prefer GET /api/v1/tenants/me/usage for new integrations — the legacy endpoint’s field names predate MAD-based pricing.

Tier limits

See also