Documentation
Everything you need to integrate Anoman AI into your stack — from your first API call to enterprise guardrail configuration.
Tip: press ⌘K (or Ctrl+K) from any docs page to search.
- Start here
Quickstart
Get your first guarded LLM call working in under 5 minutes. Create an API key, set the base URL, and make a request.
Read docs - 9 guides
Agent Guides
Step-by-step integration guides for LangChain, Claude Code, CrewAI, OpenAI Agents SDK, Cursor, Aider, and more.
Read docs - OpenAPI
API Reference
Complete OpenAPI specification for all endpoints — completions, keys, policies, batch jobs, and Anoman-native extensions.
Read docs - Python + TS
SDK
Official Python and TypeScript SDKs with transparent batch polling, streaming support, and type-safe responses.
Read docs - Security
Guardrails
How injection detection, PII masking, content moderation, and policy enforcement work — and how to configure them.
Read docs - Monitoring
Observability
Traces, live event stream, anomaly detection, and provider health monitoring. Every request is fully visible.
Read docs - Residency
Regional Routing
How to route by region and verify where your data is processed. Every model declares its data-processing region; cross-border processing is opt-in.
Read docs - Reference
Authentication
API key format, Authorization header, key scoping, rotation, and secret-storage best practices.
Read docs - Reference
Errors
Every HTTP status and error.code the gateway returns, what causes it, and how your client should handle each one.
Read docs - Guide
Streaming
Server-Sent Events for token-by-token output. Wire format, mid-stream error handling, cancellation, multi-language samples.
Read docs - Reference
Rate Limits
Per-customer token caps by model tier class plus RPM/TPM burst guards and a concurrent inflight cap. Response headers, 402/429 handling, token packs for planned spikes.
Read docs - Guide
Webhooks
Asynchronous events for batch completions, anomaly detection, balance thresholds. HMAC signature verification, at-least-once delivery, idempotency patterns.
Read docs - Reference
Endpoint reference
Per-endpoint detail pages. Chat completions, batch jobs, embeddings, models — full parameter tables, response shape, headers, and code samples.
Read docs - Deep dive
Concepts
How the system works behind the API. Weighted tokens, guardrails pipeline order, caching layers — the model you need to budget + debug effectively.
Read docs - Guide
Migration guides
Two-line migration from raw OpenAI or Anthropic SDK. Keep all your code; gain guardrails, observability, and the full multi-provider catalog.
Read docs - Cookbook
Recipes
End-to-end working code for the patterns customers ask about most. Code review bot, streaming chat UI, batch document analysis.
Read docs - Billing
Plans & Billing
The four tiers, weighted-token billing, annual billing, and IDR payment via DOKU.
Read docs - Billing
Quota & Overage
Monthly weighted-token allowance, per-model-class token caps (402), overage vs block, and resets.
Read docs - Billing
Model catalog
Discover models, tier classes, capability flags, offered = active + public + reachable, sovereign routing.
Read docs - Billing
Burst credits
Buy token packs to temporarily raise a model tier class's token cap when you plan a spike.
Read docs - Product
Image generation
Anoman Design — POST /v1/images/generations, Flux models, enhance + style presets, and the studio.
Read docs - Product
Copilot
copilot.anoman.io branded chat — entitled models, history, streaming, SSO + email-OTP MFA.
Read docs - Security
Output DLP
Scan model responses (egress) for secrets and PII. Modes off / monitor / redact / block.
Read docs - Security
Jailbreak & indirect injection
Detect jailbreak / DAN attempts and indirect injection from tool results. Modes off / monitor / block.
Read docs - Security
PII protection
Presidio detection incl. NIK / NRIC. Redact, tokenize, synthetic, or block — with de-anonymization.
Read docs - Security
MCP governance
Govern MCP tool calls — register servers, per-tool allow / deny / require_approval, scopes, audit.
Read docs - Security
Policy groups
Bundle guardrail config per API key. Per-key overrides, priority order, and a master toggle.
Read docs - Teams
Organizations
Organization accounts and roles — create, switch, convert, and transfer ownership.
Read docs - Teams
Team invitations
Invite staff by email — 7-day token, accept flow, revoke. Roles admin / admin_read_only / member.
Read docs - Teams
Member groups
Entitlement bundles — allowed tier classes, per-member weighted caps, and a member-domain allowlist.
Read docs - Teams
Managed endusers
Keyless endusers via Copilot — single + bulk invite, suspend, reactivate, reset, offboard.
Read docs - Growth
Referral
Refer & Earn — 20% bill credit per side on a referee's first 3 settled payments.
Read docs - Observability
Traces & requests
Every request recorded — tokens, cost, latency, provider, guardrails, cache, routing, sessions.
Read docs - Observability
Usage & Costs
Weighted tokens used vs allowance, spend by model / region / agent, savings, and batch economics.
Read docs - Observability
Live Feed
Real-time SSE stream of requests, blocks, anomalies, batch jobs, and per-provider health.
Read docs - Observability
Anomaly detection
Z-score / Welford rolling detector plus per-customer Isolation Forest ML. List + acknowledge.
Read docs - Observability
Audit log
Append-only audit_events (SOC 2 evidence) — cursor-paginated list plus NDJSON export.
Read docs - Optimize
Caching
Two stacking layers — semantic response cache plus provider prompt cache. Weighted-token discounts.
Read docs - Optimize
Batch routing
Route non-interactive work through batch for ~50% lower cost. 202 → poll → 200 with savings.
Read docs - Enterprise
SAML SSO
Enterprise SAML single sign-on via saml-jackson — any SAML 2.0 IdP. Admin CRUD, tier-gated.
Read docs - Enterprise
Faithfulness
Opt-in preview response-groundedness signal — CPU, async, warn-only. Coarse band, never blocks.
Read docs