Markdown & llms.txt
Markdown & llms.txt
Markdown & llms.txt
These docs are published in formats that large language models read cleanly. Use them to give any LLM accurate, current context about the Sarvam API — no scraping, no stale training data.
These follow the llms.txt convention and are regenerated with every docs deploy, so they always match what’s published.
Append .md to any documentation URL to get the raw Markdown, with no navigation or styling:
This is the quickest way to drop a single page into an LLM prompt or a RAG index.
Paste the contents of llms-full.txt into a model with a large context window when you want it to reason over the complete API in one shot.
Fetch llms.txt, then load only the linked pages you need (each is available as .md). This keeps prompts small and relevant.
llms.txt vs the MCP serverBoth make the docs available to AI — they suit different workflows:
Rule of thumb: use the MCP server when an assistant should pull docs while you code; use llms.txt when you want to load documentation into a model yourself.