LLM resources for AI
Updated: Jul 21, 2026
Meta provides LLM-optimized documentation for all Meta Horizon OS development platforms. These resources are designed to be consumed by AI assistants and large language models, enabling accurate and up-to-date responses when you use AI tools for Meta Quest development.
LLM-optimized documentation
Meta publishes developer documentation in a machine-readable format optimized for LLM consumption, providing clean text without navigation chrome, ads, or other page elements that reduce accuracy.
Documentation index pages
Each build path has its own documentation index listing all available pages. Some build paths also have an API reference index:
Unity:
Unreal:
Spatial SDK:
Android Apps:
Native:
Web:
Note: The API reference indices use latest where it is available. Spatial SDK does not provide a latest alias, so its API reference index is pinned to a released version.
Meta VR CLI provides tools that retrieve documentation automatically:
search_doc — Searches across Meta Horizon OS documentation for relevant pages.fetch_meta_quest_doc — Fetches the full content of a specific documentation page by URL.
When you ask your AI assistant a question about Meta Quest development, it uses these tools to find and retrieve the relevant documentation pages.
You can also point any LLM or AI tool at the documentation URLs directly to get an AI-optimized markdown version of the documentation.
Most SDKs have Markdown API reference pages. They are available for recent versions, but not every SDK or version. Index pages are available at the following URL pattern:
https://developers.meta.com/horizon/reference/{sdk}/{version}/index.md
Replace {sdk} with the SDK identifier (for example, unity, unreal, or spatial-sdk) and {version} with a released version, or latest where it is available. For example:
Unity SDK API reference index:
https://developers.meta.com/horizon/reference/unity/latest/index.md
Spatial SDK API reference index:
https://developers.meta.com/horizon/reference/spatial-sdk/v0.13.1/index.md
To get the Markdown for a single API reference page, add .md to its URL:
https://developers.meta.com/horizon/reference/{sdk}/{version}/{page}.md
For example, the Unity AlertViewHUD class reference:
https://developers.meta.com/horizon/reference/unity/v203/class_alert_view_h_u_d.md
If a Markdown URL returns a message that the content is not available, that SDK version does not have a Markdown API reference. Try a recent released version instead.
The base URL pattern is:
https://developers.meta.com/horizon/llmstxt/documentation/{platform}/{page-slug}.md/
Replace
{platform} with your build path (
unity,
unreal,
spatial-sdk,
android-apps,
native, or
web) and
{page-slug} with the page identifier. Start with the
documentation index for your platform to discover available pages.