Skip to main content
TokenPath is source attribution for AI applications. You send three strings:
  • document: the source text your model read,
  • question: the question or task you gave it,
  • answer: the answer it wrote.
TokenPath returns links from phrases in the answer to the exact text in the document that supports them, each with a confidence score. Your app turns those links into citations, highlights, or click-to-source review.
TokenPath works with any model. It does not generate, rewrite, or sit in your inference path. It runs after the answer exists.

Quickstart

Make your first request in two minutes. No key needed.

Set up with a coding agent

Point Claude Code or another agent at skill.md and it wires TokenPath into your app.

Inline citations

Turn answer-to-source links into numbered citations.

PDF attribution

Highlight the exact supporting text on the PDF page.

API reference

Every endpoint, field, and error code.

Which endpoint should I use?