Claude on WholeTech network
home/products/citations
Grounded answers

Citations shipping

Pass documents in; Claude grounds its answer with span-level citations back to the source.

01 — Why it exists

Trust, but verify.

Citations make Claude's answers verifiable. You pass documents into a message; Claude returns text where every claim is linked to a span of a source document. Users can hover and see exactly where each statement came from. The same primitive powers RAG-style products without the bespoke retrieval plumbing.

02 — The shape

Documents in, citations out.

  1. Pass each document as a content block of type document with citations.enabled = true.
  2. Ask the question as a normal text block.
  3. Receive a response where text segments come paired with citations arrays — page numbers, line ranges, or character offsets back to the source.
  4. Render in your UI by hyperlinking each cited span back to the source.
03 — Document shapes

What you can ground on.

PDFs

Citations carry page numbers. Best UX — direct hover-to-page.

Plain text

Character spans. Easy to highlight inline.

Custom-content blocks

Pre-chunked text with explicit ranges. Lets you control granularity.

04 — UX patterns

How users want it.

05 — Pairs well with

Combine.