url_citation annotations on the output text. Because this is the stock
wire format, existing OpenAI SDK code that reads content[].annotations works unchanged.
Annotation format
Citations appear on themessage output item’s output_text content part. Each annotation
carries the source url and title, plus start_index/end_index marking the span of
answer text it supports:
Reading citations
Citations while streaming
With streaming enabled, each citation arrives as a standardresponse.output_text.annotation.added event after the text delta:
response.completed event carries the complete annotations array on the message
content, so non-incremental consumers can also read citations from there.