Skip to main content

llms.txt

A structured index of all documentation pages. Gives AI tools a map of what’s available.

llms-full.txt

The complete documentation in a single Markdown file. Full context for any AI tool.
The llms.txt standard is like a sitemap for AI. It helps LLMs understand your documentation structure and find relevant content — similar to how sitemap.xml helps search engines.
FileWhat it containsBest for
llms.txtPage titles, URLs, and descriptionsQuick overview, navigation, finding specific topics
llms-full.txtAll documentation content in one fileFull context, comprehensive answers, deep understanding
These files are also available at /.well-known/llms.txt and /.well-known/llms-full.txt for tools that follow the .well-known convention. Every page in the documentation can be fetched as raw Markdown by appending .md to its URL (e.g., https://docs.x.com/tools/llms-txt.md).

How to use it

Most AI tools accept URLs directly. Just provide the URL and the tool will fetch and parse the content:
  • Grok: Paste https://docs.x.com/llms-full.txt into the chat and ask questions about the X API
  • Cursor / Windsurf: Add https://docs.x.com/llms-full.txt as documentation context for your project
  • Custom agents: Fetch the file programmatically and include it in your system prompt or context window
# Fetch the documentation index
curl https://docs.x.com/llms.txt

# Fetch the complete documentation
curl https://docs.x.com/llms-full.txt

# Fetch any individual page as Markdown
curl https://docs.x.com/tools/llms-txt.md