Skip to main content
Verlon’s API speaks the formats the ecosystem already standardized on. There is no proprietary request shape to learn: point the official OpenAI SDK (or Anthropic, Mistral, Gemini) at Verlon and you have the full API.

Base URL

All routes authenticate with your Verlon API key as a Bearer token (Authorization: Bearer sk-vrln-...), except where noted.

Inference

Address your gate on any inference route in one of three ways: a gateId body field, an X-Verlon-Gate-Id header, or the gate UUID in the model string — optionally <gate-uuid>/<task> to attribute a named task. With a real model name and no gate reference, Verlon auto-creates a passthrough gate on first use. Error responses mirror the format you’re calling with: OpenAI-shape routes return OpenAI’s error envelope, /v1/messages returns Anthropic’s, so your SDK’s error handling works unchanged.

Platform

Gates, tasks, models, the public registry, usage, traces, and OAuth device flow are documented in the sidebar — generated from the live OpenAPI spec. Dashboard-only and internal routes are not part of the public API surface.

Guides

OpenAI SDK Integration

Setup, streaming, tool calling, migration

Anthropic SDK Integration

The same two-line swap for Claude-first apps

Provider Compatibility

Every supported model and route

Agent Tracing

Traces, tasks, and sessions via @verlon-ai/sdk