One dimension rule in a template rate limit selector.

Hierarchy

  • AiGatewayRateLimitSelectorEntry

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
dim: string

Dimension to match: user_id, team_id, model, provider, or tag:. Reserved metadata tag keys are rejected.

perValue: boolean

Give each matched value its own allowance when true. Otherwise, matched values share the allowance within the other separated dimensions.

values?: string[]

Allowed dimension values. Omit to match any value; with per_value true, a request must still carry the dimension to match. An explicit list must contain at least one value. Listed team_id values must be existing Teams without open membership.

Generated using TypeDoc