Skip to main content
GET
Self-service quota and usage snapshot

Usage & Quota

Return a self-service snapshot of the calling API key’s quota and usage: the billed user’s points bucket, the Usage-by-Model budget when enabled, and the key’s own request limits and rate limits. This is the same data you’d otherwise read from the admin panel, exposed to the key holder.

Endpoint

Authentication

Request Example

Response

Fields

Notes

  • Values reflect the billed user, which may differ from the key owner when requests use user_id on-behalf-of billing.
  • To preview whether a specific request would pass its quota (without spending), use Policy Check and read checks.quota.

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format. Example: Authorization: Bearer sk-your-api-key-here

Response

Points, usage_by_model, and api_key limit snapshot