RealtimeServerEventConversationItemDone interface

Returned when a conversation item is finalized. The event will include the full content of the Item except for audio data, which can be retrieved separately with a conversation.item.retrieve event if needed.

Extends

Properties

event_id

The unique ID of the server event.

item

The finalized conversation item, excluding raw audio data.

previous_item_id

The identifier of the conversation item immediately preceding the finalized item.

type

The event type, must be conversation.item.done.

Property Details

event_id

The unique ID of the server event.

event_id: string

Property Value

string

item

The finalized conversation item, excluding raw audio data.

item: RealtimeConversationItemUnion

Property Value

previous_item_id

The identifier of the conversation item immediately preceding the finalized item.

previous_item_id?: string

Property Value

string

type

The event type, must be conversation.item.done.

type: "conversation.item.done"

Property Value

"conversation.item.done"