Documentation Index
Fetch the complete documentation index at: https://docs.nolma.ai/llms.txt
Use this file to discover all available pages before exploring further.
Gateway API
The gateway is a transparent reverse proxy. Point your LLM client at Nolma’s gateway URL instead of the provider’s URL directly.Base URL
Authentication
Every request must include:| Header | Required | Description |
|---|---|---|
NM-Key | Yes | Your Nolma API key (nm_live_...) |
NM-Agent | Recommended | Agent name for tracking |
NM-Session | Optional | Session ID (SDK sets automatically) |
NM-Env | Optional | production / staging / development |
NM-User | Optional | End-user ID for per-user budgets |
Provider routing
| Provider | Gateway URL |
|---|---|
| OpenAI | https://gateway.nolma.ai/openai/v1/chat/completions |
| Anthropic | https://gateway.nolma.ai/anthropic/v1/messages |
| Gemini | https://gateway.nolma.ai/gemini/v1/models/{model}:generateContent |
| Groq | https://gateway.nolma.ai/groq/openai/v1/chat/completions |
| Mistral | https://gateway.nolma.ai/mistral/v1/chat/completions |