RealtimeServerEventResponseOutputItemDone
objectReturned when an Item is done streaming. Also emitted when a Response is
interrupted, incomplete, or cancelled.
The unique ID of the server event.
The event type, must be response.output_item.done.
Allowed values:response.output_item.done
The ID of the Response to which the item belongs.
The index of the output item in the Response.
The item to add to the conversation.
Show Child Parameters
RealtimeServerEventResponseTextDelta
objectReturned when the text value of a “text” content part is updated.
The unique ID of the server event.
The event type, must be response.text.delta.
Allowed values:response.text.delta
The ID of the response.
The ID of the item.
The index of the output item in the response.
The index of the content part in the item’s content array.
The text delta.
RealtimeServerEventResponseTextDone
objectReturned when the text value of a “text” content part is done streaming. Also
emitted when a Response is interrupted, incomplete, or cancelled.
The unique ID of the server event.
The event type, must be response.text.done.
Allowed values:response.text.done
The ID of the response.
The ID of the item.
The index of the output item in the response.
The index of the content part in the item’s content array.
The final text content.
RealtimeServerEventSessionCreated
objectReturned when a Session is created. Emitted automatically when a new
connection is established as the first server event. This event will contain
the default Session configuration.
The unique ID of the server event.
The event type, must be session.created.
Allowed values:session.created
Realtime session object configuration.
Show Child Parameters
RealtimeServerEventSessionUpdated
objectReturned when a session is updated with a session.update event, unless
there is an error.
The unique ID of the server event.
The event type, must be session.updated.
Allowed values:session.updated
Realtime session object configuration.