Event fields
string
required
The unique ID of the server event.
string
required
Event type. Must be
response.output_item.done.string
required
The ID of the response to which the item belongs.
number
required
The index of the output item in the response.
conversation_item
required
The item that is done.
string
required
The unique ID of the item.
string
required
The item type.
'completed' | 'incomplete' | 'in_progress'
The status of the item.
string
Message role, when the output item is a message.
array
Final message content, when the output item is a message.
string
The ID of the function call, when the output item is a function call.
string
The function name, when the output item is a function call.
string
The final function arguments as a JSON string, when the output item is a function call.