The rate limit state indicating whether the API is currently rate limited.
export interface RateLimitState { isRateLimited: boolean; retryAfter: number | null; message: string | null;} Copy
export interface RateLimitState { isRateLimited: boolean; retryAfter: number | null; message: string | null;}
Whether the API is currently rate limited.
Unix timestamp in milliseconds when the rate limit expires, or null if not rate limited.
User-facing message explaining the rate limit, or null if not rate limited.
The rate limit state indicating whether the API is currently rate limited.
Source