LiveServerEventLiveResponseEvent interface

A streaming Responses API event from a backend delegated to by the Live session. Use the outer delegation_id to associate the nested stream with its Live delegation.

Extends

Properties

client_event_id

The event_id of the client command associated with this server event, when supplied.

delegation_id

The ID of the delegation associated with the nested Responses event, when available.

event

The nested Responses streaming event. Dispatch on its type field. Response lifecycle snapshots omit input and clear instructions, tools, and output to keep messages small; consume granular output events for the generated content.

event_id

The unique ID of the Live server event.

type

The event type, always response.event.

Property Details

client_event_id

The event_id of the client command associated with this server event, when supplied.

client_event_id?: string

Property Value

string

delegation_id

The ID of the delegation associated with the nested Responses event, when available.

delegation_id?: string

Property Value

string

event

The nested Responses streaming event. Dispatch on its type field. Response lifecycle snapshots omit input and clear instructions, tools, and output to keep messages small; consume granular output events for the generated content.

event: Record<string, any>

Property Value

Record<string, any>

event_id

The unique ID of the Live server event.

event_id: string

Property Value

string

type

The event type, always response.event.

type: "response.event"

Property Value

"response.event"