Returned when a Response is done streaming. Always emitted, no matter the final state. The Response object included in the response.done event will include all output Items in the Response but will omit the raw audio data.

interface ResponseDoneEvent {
    event_id: string;
    response: RealtimeResponse;
    type: "response.done";
}

Properties

event_id: string

The unique ID of the server event.

The response resource.

type: "response.done"

The event type, must be response.done.