Skip to content

RateLimitReset

Defined in: core/src/rate-limit.ts:32

optional resetAtMs?: number;

Defined in: core/src/rate-limit.ts:34

Absolute time the binding window resets, when any header disclosed it.


optional retryAfterMs?: number;

Defined in: core/src/rate-limit.ts:36

Server-requested wait (retry-after), which a retry policy honours.


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.


optional window?: RateLimitWindow;

Defined in: core/src/rate-limit.ts:38

Which subscription window bound, when it could be named at all.