Attributes of an AI Gateway rate limit.

Hierarchy

  • AiGatewayRateLimitAttributes

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
createdAt: Date

Creation timestamp.

createdBy: string

Email of the user who created this rate limit.

enabled: boolean

Whether this rate limit is active.

inputTokensPerMinute?: number

Maximum input tokens per rolling minute shared by all matching traffic. Null when this rule does not limit input tokens.

Action taken when request rate exceeds the limit.

monitorId?: number

Datadog monitor that alerts on this rule. Null until one is provisioned.

name: string

Rate limit name.

outputTokensPerMinute?: number

Maximum output tokens per rolling minute shared by all matching traffic. Null when this rule does not limit output tokens.

requestsPerMinute?: number

Maximum requests per rolling minute shared by all matching traffic. Null when this rule does not limit requests.

revision: number

Increases on every change to the definition.

scopeRestricted: boolean

Whether provider or model scope metadata was withheld. Omit unchanged scope fields on an unrelated update to preserve their saved values.

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.

Type declaration

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

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

updatedAt: Date

Last modification timestamp.

updatedBy: string

Email of the user who last modified this rate limit.

userId?: string

Optional user UUID. Count only this user's requests.

Generated using TypeDoc