Files
openrouter-python-sdk-retry…/docs/models/openresponsesstreameventresponseoutputitemadded.md
T
Matt Apperson 5fc522c72f Initial commit: OpenRouter Python SDK
Auto-generated Python SDK for OpenRouter API, providing comprehensive client library with:
- Chat completions and streaming support
- Embeddings API
- Model and provider information
- API key management
- Analytics and usage tracking
- OAuth authentication flows
- Full type hints and error handling
2025-11-13 10:56:25 -05:00

5.3 KiB

OpenResponsesStreamEventResponseOutputItemAdded

Event emitted when a new output item is added to the response

Fields

Field Type Required Description Example
type models.TypeResponseOutputItemAdded ✔️ N/A
output_index float ✔️ N/A
item models.ResponsesOutputItem ✔️ 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_number float ✔️ N/A