AxCitation
type AxCitation = object;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L580
Properties
description?
optional description: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L588
documentIndex?
optional documentIndex: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L603
Position of the cited document in the request’s document list.
documentTitle?
optional documentTitle: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L605
Title of the cited document, when the request supplied one.
endBlockIndex?
optional endBlockIndex: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L619
content_block_location: one past the last block of the cited span.
endCharIndex?
optional endCharIndex: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L611
char_location: one past the last character of the cited span.
endPageNumber?
optional endPageNumber: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L615
page_location: one past the last page of the cited span.
fileId?
optional fileId: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L607
Provider file identifier, when the cited document came from the Files API.
license?
optional license: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L589
mediaId?
optional mediaId: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L593
File Search multimodal (Gemini, May 2026): media chunk id.
pageNumbers?
optional pageNumbers: number[];Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L595
File Search multimodal (Gemini, May 2026): page numbers cited within the source.
publicationDate?
optional publicationDate: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L590
snippet?
optional snippet: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L591
startBlockIndex?
optional startBlockIndex: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L617
content_block_location: first block of the cited span (0-based).
startCharIndex?
optional startCharIndex: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L609
char_location: first character of the cited span.
startPageNumber?
optional startPageNumber: number;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L613
page_location: first page of the cited span (1-based).
title?
optional title: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L587
type?
optional type: "char_location" | "page_location" | "content_block_location";Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L601
Location kind, as reported by the provider. Anthropic document citations
use char_location, page_location, or content_block_location; URL
citations leave this unset.
url?
optional url: string;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/types.ts#L586
Source URL. Present for URL citations (Gemini grounding, Anthropic web search). Absent for Anthropic document citations, which point into a document supplied with the request instead of at a web page.