Skip to main content
GET
Get rate limit usage

Authorizations

Authorization
string
header
required

A static Affinity API key, presented as a bearer token.

Response

OK

Rate limit usage for the authenticated caller. Contains one or two windows depending on the caller's quota configuration: callerPerMinute is always present (per-caller minute limit); orgPerMonth is present only for callers whose org has a bounded monthly quota (DEVELOPER keys and OAuth apps on capped plans). Absence of orgPerMonth indicates no monthly quota applies.

callerPerMinute
RateLimitWindow · object
required

Rate limit window for per-caller requests within a one-minute period.

orgPerMonth
RateLimitWindow · object

Rate limit window for monthly aggregate requests. Only present for callers with a monthly quota; omitted for API key types without monthly limits.