One dimension rule in a template budget selector.

Hierarchy

  • AiGatewayBudgetSelectorEntry

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

Separate counters by the matched value when true. Otherwise, pool spend within the other separated dimensions.

values?: string[]

Allowed dimension values. Omit to match any value, including an absent dimension. An explicit list must contain at least one value.

Generated using TypeDoc