A limit on one metric over a rolling window longer than a minute.

Hierarchy

  • AiGatewayRateLimitWindowLimit

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
amount: number

Maximum amount of the metric over the window. For cost, the amount is priced spend in microcents of 1e-8 USD each, as in cost_microcents_per_minute. For the same metric, a longer window must have a larger amount.

The metric that a window limit counts. cost counts priced spend in microcents.

The rolling window that a limit applies to. For per-minute limits, use the *_per_minute fields instead.

Generated using TypeDoc