Skip to main content
The Go 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"}
AnnotationIndexint64:heavy_check_mark:N/A
ContentIndexint64:heavy_check_mark:N/A
ItemIDstring:heavy_check_mark:N/A
OutputIndexint64:heavy_check_mark:N/A
SequenceNumberint64:heavy_check_mark:N/A
Typecomponents.AnnotationAddedEventType:heavy_check_mark:N/A