Skip to content

Documentation / @agentick/shared / ContentCitation

Interface: ContentCitation ​

Defined in: streaming.ts:45

Citation - normalized reference to source material.

Adapters map provider-specific citation formats to this normalized structure.

  • Anthropic: citations with source info
  • Google: grounding sources/chunks
  • OpenAI: annotations with file citations

Properties ​

endIndex? ​

optional endIndex: number

Defined in: streaming.ts:55

End index in the content this citation applies to


startIndex? ​

optional startIndex: number

Defined in: streaming.ts:53

Start index in the content this citation applies to


text ​

text: string

Defined in: streaming.ts:47

Citation text shown in the response


title? ​

optional title: string

Defined in: streaming.ts:51

Source title/name


url? ​

optional url: string

Defined in: streaming.ts:49

Source URL if available

Released under the ISC License.