Reference
Docs for AI tools
Give coding assistants and chatbots these docs as plain Markdown, through llms.txt, llms-full.txt, a .md version of every page, or a short project rules file.
AI coding assistants write better integration code when they can read the real docs instead of guessing. Every page here is available as plain Markdown, in the forms below.
llms.txt
https://oneaiapikey.com/llms.txt is a short index of every docs page with a one-line summary and a link to its Markdown version, following the llms.txt convention. Give this URL to a tool that can follow links.
llms-full.txt
https://oneaiapikey.com/llms-full.txt is the whole documentation in one Markdown file. Use it when a tool takes one document as context, such as a project knowledge file in a chat app. It is large; for a single task, one page is usually enough.
One page as Markdown
- Add
.mdto any docs URL, for example/docs/streaming.md. - Or use Copy as Markdown at the top of any page and paste it into your assistant.
Code examples in the Markdown versions use the same base URLs, model ids and environment variable names as the pages.
A rules file for your project
Coding agents read a project rules file (AGENTS.md, CLAUDE.md, .cursor/rules and similar) on every task. Paste this block into yours so the agent uses the right base URL, key variable and model ids:
## Relaykit API
- OpenAI format: base URL https://api.oneaiapikey.com/v1, header "Authorization: Bearer $RELAYKIT_API_KEY".
- Anthropic format (Claude models only): base URL https://api.oneaiapikey.com (no /v1; SDKs add /v1/messages), header "x-api-key".
- Read the key from the RELAYKIT_API_KEY environment variable. Never hard-code it or print it.
- Model ids: claude-haiku-4-5 (fast), gpt-5.6-terra, claude-sonnet-5-5. Full list: https://oneaiapikey.com/docs/models.md
- For Claude, response_format is ignored in chat completions: use a forced tool call or /v1/messages.
- Docs index: https://oneaiapikey.com/llms.txtRelated
- Coding tools overview: set up each agent and editor to use the gateway.
- API reference: every endpoint.