Get current API key info
Returns the Authorization key's status, limits, remaining amount, reset period, expiry, key type, successful-request spend and counts, and rate tier. An ordinary key reports its own figures with usage_scope: key; an organization Management Key reports the whole organization's figures with usage_scope: organization, using the same total as the organization dashboard. Day, week, and month boundaries are UTC: 00:00 UTC, Monday 00:00 UTC, and the first day of the month at 00:00 UTC. When a per-key limit exists, limit_remaining is the limit minus this key's spend in its day, week, or month reset period; when no per-key limit exists, it falls back to the account balance, or the organization balance for an organization key. is_free_tier and the rate tier also use the organization balance for an organization key without its own limit. Use GET /v1/credits for the account balance. The example below uses a management key to see the organization total and then each key's usage.
/v1/keyAuthorizations
AuthorizationrequiredAPI key as bearer token in the Authorization header.