Documentation Index
Fetch the complete documentation index at: https://to11.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Gateway Quickstart
This tutorial walks you through building the gateway from source, sending your first request, and enabling security — all without Docker or the full to11 stack.Prerequisites
- Rust stable toolchain — install via rustup if you don’t have it
- One API key — an OpenAI or Anthropic API key to pass in the
Authorizationheader
1. Clone and build
target/release/gateway.
2. Configure a provider
Create a minimal config file atconfig/gateway.toml:
The gateway uses passthrough authentication — your
Authorization header is forwarded directly to the upstream provider. The gateway never reads or stores provider API keys.3. Run the gateway
127.0.0.1:4000.
4. Send a test request
5. Enable security
Add a[security] block to your config to activate inline guardrails:
400 Bad Request — the request was blocked before reaching OpenAI. PII detection (SSN, credit cards, phone numbers, emails) is also active automatically.
Next steps
Configuration
Full TOML reference — providers, telemetry, security.
API Reference
All endpoints: chat, embeddings, images, audio, files.
Telemetry
OpenTelemetry GenAI spans, metrics, and ClickHouse queries.
Streaming
Fast-path vs normalised-path streaming architecture.