Class AiGatewayRateLimitUpdateAttributes

Attributes used to update an AI Gateway rate limit. Only sent fields are changed.

Hierarchy

  • AiGatewayRateLimitUpdateAttributes

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

Whether this rate limit is active.

inputTokensPerMinute?: number

Set to 0 to remove the request limit. Null is ignored. At least one limit must remain.

Action taken when request rate exceeds the limit.

name?: string

Rate limit name.

outputTokensPerMinute?: number

Set to 0 to remove the request limit. Null is ignored. At least one limit must remain.

requestsPerMinute?: number

Set to 0 to remove the request limit. Null is ignored. At least one limit must remain.

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

Replaces all scope tags. An empty object clears them. Null is ignored.

Type declaration

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

Replaces the Team scope. An empty string clears it. Null is ignored.

userId?: string

Replaces the user scope. An empty string clears it. Null is ignored.

Generated using TypeDoc