KnowledgeSourceCitation
A knowledge document that an AI agent reply cited, linked to the timeline entry it was cited in. One reply can produce multiple citations; each is returned as its own entry.
KnowledgeSourceCitationFields
The id of the thread the citing reply belongs to.
The id of the timeline entry the citing reply is rendered as. The frontend correlates citations to entries on this id.
The kind of source that was cited. Snapshotted, so it survives deletion of the source (unlike document) and lets the caller pick an icon or affordance even once the live document is gone.
Snapshot of the cited source's title at the time it was cited. Always present, so a since-deleted source still shows what was cited.
Snapshot of the cited source's URL when it has one, otherwise null. Best-effort; prefer building links from document when it is present.
The live cited knowledge document. Null if it has since been deleted or is not visible to the caller.

