Skip to main content
Returned when a Response reaches its final state. Always emitted regardless of the final state and, when avatar rendering occurred, only after response.render.stopped. The response includes all generated output items and omits raw audio data.

Event fields

string
required
The unique ID of the server event.
string
required
Event type. Must be response.done.
realtime_response
required
The response resource.
string
The unique ID of the response.
string
The final response status. Clients should check this field for completed, cancelled, failed, or incomplete.
object | null
Additional details about the response status.
conversation_item[]
All output conversation_items generated during the response. Raw audio/video is delivered over RTC media tracks and is not included here.
number | 'inf'
The maximum number of output tokens for the response.