Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when a new output item is added to the response

Fields

FieldTypeRequiredDescriptionExample
typecomponents.TypeResponseOutputItemAdded:heavy_check_mark:N/A
output_indexfloat:heavy_check_mark:N/A
itemcomponents.ResponsesOutputItem:heavy_check_mark:An output item from the response{"id": "msg-abc123","role": "assistant","type": "message","status": "completed","content": [{"type": "output_text","text": "Hello! How can I help you today?"}
]
}
sequence_numberfloat:heavy_check_mark:N/A