Skip to main content
At the very bottom of Settings → Headless API in the admin panel you will find the Developer Resources section. It holds four links you will need while developing with Headless. All of them live under your site address, e.g. https://your-site.com/headless/docs.

Interactive API documentation

Presents every endpoint grouped, searchable and testable from the browser. It includes authentication, parameters, response examples, error codes and code samples in several languages. When to use it: when you wonder what an endpoint returns, want to try a request quickly or look up what an error code means. Detailed usage: OpenAPI documentation.

openapi.json

The machine-readable definition of the API. When to use it:
  • Importing a collection into Postman/Insomnia/Bruno
  • Generating TypeScript types or clients in other languages
  • Giving the full definition to AI tools
  • Data source of the MCP server (it reads it automatically)

llms.txt

A short index prepared for AI models: the core rules (authentication, response format, error handling) and a one-line list of all endpoints. When to use it: when you want to quickly give the big picture to a tool with a small context window.

llms-full.txt

The full reference with each endpoint’s parameters, request body, responses and error codes. The panel shows this hint:
“Give llms-full.txt to your AI assistant and it can build a theme for you.”
How to use it:
Copy the file’s content into the chat (or upload it as a file) and write your request:
“Write a store page in Next.js with the API above.”

Public key and API URL

These details at the top of the same page are also needed for development:
  • Public Key: the X-LeaderOS-Key header on every request (Dashboard settings)
  • API URL: https://your-site.com/headless/v1
1

Explore

Browse the endpoints in the interactive docs and try a few.
2

Start

Set up the template with npm create leaderos-theme@latest (create-leaderos-theme).
3

Connect the AI

Connect the assistant to the project with MCP and llms-full.txt (Developing with AI).
4

Publish

Deploy to your VDS (Deployment).

Help

API basics

Authentication, errors, captcha, payment flow.

Settings

Full explanation of the panel settings.