RateLimitReset
Defined in: core/src/rate-limit.ts:32
Properties
Section titled “Properties”resetAtMs?
Section titled “resetAtMs?”optional resetAtMs?: number;Defined in: core/src/rate-limit.ts:34
Absolute time the binding window resets, when any header disclosed it.
retryAfterMs?
Section titled “retryAfterMs?”optional retryAfterMs?: number;Defined in: core/src/rate-limit.ts:36
Server-requested wait (retry-after), which a retry policy honours.
utilization?
Section titled “utilization?”optional utilization?: number;Defined in: core/src/rate-limit.ts:42
How full the binding window is, as the headers report it (1 is full).
Set only when a window’s fill rode the response: Anthropic’s unified
5h/7d headers, or the ChatGPT backend’s x-codex-* ones.
window?
Section titled “window?”optional window?: RateLimitWindow;Defined in: core/src/rate-limit.ts:38
Which subscription window bound, when it could be named at all.