Attributes used to create an AI Gateway budget.

Hierarchy

  • AiGatewayBudgetCreateAttributes

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

Budget capacity in microcents.

Action taken when spend exceeds the budget.

name: string

Human-readable resource name.

Dimension rules for a template budget. A nonempty selector creates independent counters for matched instances. Omit or pass an empty selector for a legacy fixed-scope budget.

tags?: {
    [key: string]: string;
}

Request tags that must match for the budget to apply.

Type declaration

  • [key: string]: string
teamId?: string

Optional Datadog Team scope.

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.

userId?: string

Optional user scope.

warningThreshold?: number

Fraction of capacity at which to issue a warning.

UTC accounting period for a budget.

Generated using TypeDoc