A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the “file_search” tool to search files.
index: number
The index of the annotation in the text content part.
type: "file_citation"
Always file_citation.
end_index?: number
minimum0
file_citation?: FileCitation {file_id, quote}
file_id?: string
The ID of the specific File the citation is from.
quote?: string
The specific quote in the file.
start_index?: number
minimum0
text?: string
The text in the message content that needs to be replaced.