A generated bundle of authored docs for agents with large context windows.
llms-full.txt is the full authored-docs bundle for agents that need the docs content, not just the docs index.
https://expand.ai/docs/llms-full.txtOpen /docs/llms-full.txt to hand an agent the whole authored corpus in one pull, or open /docs/llms.txt when you only need the index. The two are not interchangeable: /docs/llms.txt lists the pages, /docs/llms-full.txt ships their full processed Markdown.
| File | Use when |
|---|---|
/llms.txt| First orientation and setup routing. |
/docs/llms.txt | Compact authored-docs index. |
/docs/llms-full.txt | Full authored-docs bundle. |
| API Reference Markdown | Exact endpoint schemas and generated reference pages. |
/docs/llms-full.txt is generated from authored docs pages. It is not the same as the API Reference Markdown export.
The bundle is assembled from the authored docs source and contains:
Each chunk uses the processed Markdown, not the raw .mdx source, so the agent reads the same rendered content a human sees.
Pages are concatenated in docs order. Each chunk opens with a heading that carries the page title and its canonical URL, then the page body, then a --- separator before the next page.
# Quickstart (https://expand.ai/docs/get-started/quickstart)
...
---
# Fetch Overview (https://expand.ai/docs/fetch/overview)
...Each page chunk must preserve a title and canonical source URL so agents can cite or revisit the source page.
Use API Reference Markdown routes when the agent needs exact endpoint schemas, parameters, errors, or generated examples.
Use /docs/llms-full.txt when:
Avoid /docs/llms-full.txt when:
/start.md;/llms.txt;/docs/llms.txt;.md route;API Reference is separate from authored docs. /docs/llms-full.txt should not be assumed to contain generated endpoint schemas.
Authored docs explain how to use Expand. The generated API Reference owns exact endpoint schemas, request bodies, response models, and status codes. When the agent needs that level of precision, reach for an API Reference Markdown route instead of the bundle:
/api-reference.md;/api-reference.mdx;/api-reference/...md;/api-reference/...mdx;Accept: text/markdown.These schemas live only in the API Reference routes; they are not duplicated in /docs/llms-full.txt.
The bundle is regenerated from the authored docs source, so it stays in sync as pages change. When updating it, keep these invariants:
Tests for the route should assert the content type, that Accept: text/markdown requests resolve correctly, that each chunk carries a title and canonical URL, that the separator is present, that at least one known authored page appears, that processed Markdown is non-empty for included pages, and that ordering stays stable after IA changes.