knowledgeSourceCitationsByThread
Returns the knowledge sources cited by AI agent replies across a thread, each linked to the timeline entry it was cited in and carrying a snapshot title (and best-effort url) plus the live cited document when it still exists. Returns an empty list when the thread has no citations or is not visible to the caller. Requires the thread:read and timeline:read permissions.
knowledgeSourceCitationsByThread(threadId: ID!): [KnowledgeSourceCitation!]!Arguments
Returns
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.

