Skip to content
Claude Certified Architect – Foundations (CCAR-F) Exam Prep

Lesson 30 of 30 · 7 min

x
30/30

Information Provenance

Video lesson: CCAR-F 30/30: Information Provenance

Citations

Enable with "citations": {"enabled": true} on a document block (plain text, PDF or custom content). Claude then returns citations tied to the provided documents:

Document typeLocation fields
Plain textstart_char_index (0-indexed), end index, document_index
PDFstart_page_number (1-indexed), end page, document_index
Custom contentcontent_block_location with block indices

Each citation includes cited_text. Key facts:

  • The API parses citations into this format, so they are guaranteed to contain valid pointers to the provided documents.
  • cited_text does not count toward output tokens, and is not counted as input tokens when passed back, which can be cheaper than prompting Claude to output direct quotes.
  • Anthropic's evaluations found citations more likely to cite relevant quotes than prompt-based approaches.
  • You can give a document a title and a context field (metadata that is not cited from).
  • Citations and structured outputs cannot be used together (citations interleave with text; structured outputs force a strict JSON shape). Choose one per request, or run two steps.

Provenance in your own pipelines (design guidance)

  • Carry a claim-to-source mapping through every stage: each finding keeps its source id, location, retrieval date and quote. When subagents return findings (1.3), require the source attached, or provenance is lost at the summary step.
  • In extraction schemas (4.3), add source_quote or source_location fields and verify the quote appears in the source (4.4).
  • Preserve dates: when a fact has a publication or "as of" date, keep it, because recency changes which source wins.

Conflicting sources (design guidance)

Do not silently pick one or average them. Instead:

  1. Report the conflict with both claims and their sources.
  2. Prefer by explicit rules (primary over secondary, newer over older when the topic is time-sensitive, official over community), and state the rule used.
  3. If it cannot be resolved, say so and escalate (5.2).

Grounding prompts (verified example)

Anthropic's guidance for agentic coding: never speculate about code you have not opened; read the file before making claims. The same principle applies to documents: answer from provided sources and say when the sources do not contain the answer.

Exam traps

  • Summaries that drop source attribution.
  • Using citations and output_config.format on the same request.
  • Quoting from memory instead of from the retrieved text.
  • Choosing one conflicting source without saying so.
  • Ignoring dates on time-sensitive facts.

References

  1. Citations — checked Oct 16, 2026
  2. Prompting best practices — checked Oct 16, 2026

Check your understanding

  • What does the citations feature guarantee about pointers?Show answer

    Answer

    They are valid pointers to the provided documents.
  • Do cited_text tokens count toward output tokens?Show answer

    Answer

    No.
  • Two sources give different figures. What do you do?Show answer

    Answer

    Report both with sources, apply and state a precedence rule, or escalate if unresolved.

Next step: take a CCAR-F practice exam

You have reached the end of the course. Take practice exam 1 without notes, check your score by domain, then go back to the lessons for your weakest domain before the next exam. There are 10 exams with 600 questions in all, and every answer is explained.

Previous

Progress is saved in this browser.

Finish Course