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
| Endpoint | Description |
|---|---|
GET /llms.txt | Index 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 Path | Content |
|---|---|
/docs/md/index | Overview page |
/docs/md/api/quick-start | API quick start |
/docs/md/api/authentication | API authentication |
/docs/md/api/endpoints/stations/list | List stations endpoint |
/docs/md/objects/station | Station 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 };
}
Related
- Authentication - API authentication
- Error Codes - Error handling reference