RealtimeServerEventResponseContentPartAdded interface

Returned when a new content part is added to an assistant message item during response generation.

Extends

Properties

content_index

The index of the content part in the item's content array.

event_id

The unique ID of the server event.

item_id

The ID of the item to which the content part was added.

output_index

The index of the output item in the response.

part

The content part that was added.

response_id

The ID of the response.

type

The event type, must be response.content_part.added.

Property Details

content_index

The index of the content part in the item's content array.

content_index: number

Property Value

number

event_id

The unique ID of the server event.

event_id: string

Property Value

string

item_id

The ID of the item to which the content part was added.

item_id: string

Property Value

string

output_index

The index of the output item in the response.

output_index: number

Property Value

number

part

The content part that was added.

part: RealtimeServerEventResponseContentPartAddedPart

Property Value

response_id

The ID of the response.

response_id: string

Property Value

string

type

The event type, must be response.content_part.added.

type: "response.content_part.added"

Property Value

"response.content_part.added"