Class AiGatewayRateLimitUsageAttributes

Live consumption of one AI Gateway rate limit.

Hierarchy

  • AiGatewayRateLimitUsageAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
inputTokens: number

Input tokens counted in the rolling one-minute window.

limitedRequests: number

Requests this rate limit rejected in the last 15 minutes. Applies when mode is ENFORCE.

outputTokens: number

Output tokens counted in the rolling one-minute window.

requests: number

Requests counted in the rolling one-minute window.

wouldLimitRequests: number

Requests this rate limit would have rejected in the last 15 minutes. Applies when mode is ALERT.

Generated using TypeDoc