RealtimeServerEventRateLimitsUpdated interface

Emitted at the beginning of a Response to indicate the updated rate limits. When a Response is created some tokens will be "reserved" for the output tokens, the rate limits shown here reflect that reservation, which is then adjusted accordingly once the Response is completed.

Extends

Properties

event_id

The unique ID of the server event.

rate_limits

List of rate limit information.

type

The event type, must be rate_limits.updated.

Property Details

event_id

The unique ID of the server event.

event_id: string

Property Value

string

rate_limits

List of rate limit information.

rate_limits: RealtimeServerEventRateLimitsUpdatedRateLimits[]

Property Value

type

The event type, must be rate_limits.updated.

type: "rate_limits.updated"

Property Value

"rate_limits.updated"