LLM Access to Documentation

This documentation is designed to be consumed programmatically by Large Language Models (LLMs) and AI agents. Raw markdown versions of all pages are available through dedicated endpoints.

Endpoints

EndpointDescription
GET /llms.txtIndex of all documentation pages (llmstxt.org format)
GET /docs/md/{path}Raw markdown for a specific page

/llms.txt returns text/plain; pages return text/markdown. /docs/md/sitemap serves the same index as /llms.txt.

Getting Started

Step 1: Fetch the Index

Start with /llms.txt: it says what the app is and links every page's raw markdown, grouped by section:

curl https://orchestrator.assemblyline.sh/llms.txt

Step 2: Fetch Individual Pages

Use a URL from the index to fetch specific documentation:

# Get authentication docs
curl https://orchestrator.assemblyline.sh/docs/md/api/authentication

# Get stations endpoint docs
curl https://orchestrator.assemblyline.sh/docs/md/api/endpoints/stations/list

# Get the Station object reference
curl https://orchestrator.assemblyline.sh/docs/md/objects/station

URL Pattern

Documentation paths follow this pattern:

/docs/md/{section}/{subsection}/{page}

Examples:

URL PathContent
/docs/md/indexOverview page
/docs/md/api/quick-startAPI quick start
/docs/md/api/authenticationAPI authentication
/docs/md/api/endpoints/stations/listList stations endpoint
/docs/md/objects/stationStation object reference

Integration Example

async function loadOrchestratorDocs() {
  const base = 'https://orchestrator.assemblyline.sh/docs/md';

  const auth = await fetch(`${base}/api/authentication`).then(r => r.text());
  const errors = await fetch(`${base}/api/errors`).then(r => r.text());
  const stations = await fetch(`${base}/api/endpoints/stations/index`).then(r => r.text());

  return { auth, errors, stations };
}