> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenResponsesStreamEventResponseOutputTextAnnotationAdded - Python SDK

> OpenResponsesStreamEventResponseOutputTextAnnotationAdded method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Event emitted when a text annotation is added to output

## Fields

| Field              | Type                                                                                                                     | Required             | Description |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------ | -------------------- | ----------- |
| `type`             | [components.TypeResponseOutputTextAnnotationAdded](/client-sdks/python/components/typeresponseoutputtextannotationadded) | :heavy\_check\_mark: | N/A         |
| `output_index`     | *float*                                                                                                                  | :heavy\_check\_mark: | N/A         |
| `item_id`          | *str*                                                                                                                    | :heavy\_check\_mark: | N/A         |
| `content_index`    | *float*                                                                                                                  | :heavy\_check\_mark: | N/A         |
| `sequence_number`  | *float*                                                                                                                  | :heavy\_check\_mark: | N/A         |
| `annotation_index` | *float*                                                                                                                  | :heavy\_check\_mark: | N/A         |
| `annotation`       | [components.OpenAIResponsesAnnotation](/client-sdks/python/api-reference/components/openairesponsesannotation)           | :heavy\_check\_mark: | N/A         |
