API access to usage limits and total monthly usage

Resolved 💬 4 comments Opened Apr 8, 2026 by JoeOakhartNava Closed May 26, 2026

Feature Request

Request for an API endpoint (or enhancement to the existing OAuth usage endpoint) that exposes:

  • Current monthly usage totals
  • Account/plan usage limits
  • Remaining quota

Use Case

Programmatic access to usage data enables automated throttling and capacity planning. Currently, the OAuth usage endpoint provides rolling-window consumption percentages, but there is no way to retrieve absolute usage numbers or plan limits via API.

Desired Behavior

An API endpoint that returns structured data including:

  • Total tokens/requests used in the current billing period
  • Plan-level limits (tokens, requests, spend caps)
  • Remaining quota before limits are reached

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗