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

Fields

FieldTypeRequiredDescriptionExample
annotationcomponents.OpenAIResponsesAnnotation:heavy_check_mark:N/A{"file_id": "file-abc123","filename": "research_paper.pdf","index": 0,"type": "file_citation"}
annotation_indexint:heavy_check_mark:N/A
content_indexint:heavy_check_mark:N/A
item_idstr:heavy_check_mark:N/A
output_indexint:heavy_check_mark:N/A
sequence_numberint:heavy_check_mark:N/A
typecomponents.AnnotationAddedEventType:heavy_check_mark:N/A