Skip to content

Interface: RateLimitInfo

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RateLimitInfo

Interface: RateLimitInfo

Defined in: src/types/common.ts:28

Rate limit information extracted from X-RateLimit-* and Retry-After response headers.

Properties

limit

limit: number

Defined in: src/types/common.ts:30

Maximum number of requests allowed in the current window.


remaining

remaining: number

Defined in: src/types/common.ts:32

Number of requests remaining in the current window.


retryAfter

retryAfter: number | null

Defined in: src/types/common.ts:34

Seconds to wait before retrying, or null if not rate-limited.