Mutable attributes of an AI Gateway budget.

Hierarchy

  • AiGatewayBudgetUpdateAttributes

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
applyToCurrentPeriod?: boolean

Whether a capacity change also applies to the active accounting period. Requires capacity_microcents. Unsupported for template budgets.

capacityMicrocents?: number

Default capacity for future accounting periods, in microcents.

enabled?: boolean

Whether the budget is enabled.

Action taken when spend exceeds the budget.

name?: string

Human-readable resource name.

reason?: string

Optional reason recorded with an active-period capacity adjustment.

trackExisting?: boolean

Initialize current-period spend from historical priced LLM Observability spans. Defaults to false. Unsupported for template budgets; failures can be retried with an update.

warningThreshold?: number

Fraction of capacity at which to issue a warning.

Generated using TypeDoc