EXPERT
Citations & Files API
Grounding responses in source documents with precision citations and reusable file references. Part of the free Claude Academy — every lesson below is open to everyone, no signup required.
2 lessons1150 XP~35 min total100% free
// LESSONS IN THIS MODULE
- 01Document-Grounded Citations20 min · 550 XP
Precision Source Attribution The Citations API (GA in the Messages API via citations: { enabled: true } on document blocks) enables Claude to ground i...
- 02Files API & Token Counting15 min · 600 XP
Pre-Flight Token Counting & The Files API Anthropic pairs two core context primitives: the Files API ( POST /v1/files ), which lets you upload hea...