Emitted when the reasoning content is finalized for an item.

interface ResponseReasoningDoneEvent {
    content_index: number;
    item_id: string;
    output_index: number;
    sequence_number: number;
    text: string;
    type: "response.reasoning.done";
}

Properties

content_index: number

The index of the reasoning content part within the output item.

item_id: string

The unique identifier of the item for which reasoning is finalized.

output_index: number

The index of the output item in the response's output array.

sequence_number: number

The sequence number of this event.

text: string

The finalized reasoning text.

type: "response.reasoning.done"

The type of the event. Always 'response.reasoning.done'.