llms.txt

Build with Headband

llms.txt

Serve an llms.txt file on your site so AI agents can find your indexes and know how to search them. Headband writes it for you, in the standard format, from the indexes your key reaches.

Search matches words, not meaning. Agents get the best results with keyword queries.

GET/v1/llms-txt

Generate an llms.txt manifest listing all indexes accessible to the API key, with document counts and search endpoint URLs.

Returns text/plain. Project-scoped keys list that project's indexes; org-scoped keys list all indexes across the org.

Auth
admin or search key
Returns
200
Response
# My Project

> Search index powered by Headband

## Indexes

- articles (1,247 documents): POST /v1/search {"index":"articles","q":"..."}
- products (8,921 documents): POST /v1/search {"index":"products","q":"..."}

## Endpoints

- Search: POST /v1/search
- AI Search: POST /v1/ai/search