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

interface ResponseContentPartAddedEvent {
    content_index: number;
    event_id: string;
    item_id: string;
    output_index: number;
    part: OpenAIClient.Beta.Realtime.ResponseContentPartAddedEvent.Part;
    response_id: string;
    type: "response.content_part.added";
}

Properties

content_index: number

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

event_id: string

The unique ID of the server event.

item_id: string

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

output_index: number

The index of the output item in the response.

The content part that was added.

response_id: string

The ID of the response.

type: "response.content_part.added"

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