Class AiGatewayRateLimitCreateAttributes

Attributes used to create an AI Gateway rate limit.

Hierarchy

  • AiGatewayRateLimitCreateAttributes

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
inputTokensPerMinute?: number

Maximum input tokens per rolling minute.

Action taken when request rate exceeds the limit.

name: string

Rate limit name. Must not be empty.

outputTokensPerMinute?: number

Maximum output tokens per rolling minute.

requestsPerMinute?: number

Maximum requests per rolling minute. At least one of requests_per_minute, input_tokens_per_minute, and output_tokens_per_minute is required.

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

Optional scope tags, such as provider, model, ml_app, or custom dimensions. A request matches when it has all of these tags. The reserved metadata keys name, budget_name, and span_filter are rejected.

Type declaration

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

Optional UUID. Count only requests attributed to this Datadog Team.

userId?: string

Optional UUID. Count only this user's requests.

Generated using TypeDoc