Key Features
- Chat Completions: OpenAI-compatible text, multimodal, tool-calling, and streaming inference.
- Messages and Responses: Anthropic-compatible
POST /v1/messages, and the Responses API for reasoning models. - Embeddings and RAG: Dense vectors, plus file upload, embedding, and semantic search over your own documents.
- Images, Audio, and Video: Image generation and editing, text-to-speech, transcription and translation, and asynchronous video generation.
- Compare and Batches: Run one prompt across several models, or submit asynchronous batch jobs and read results inline.
- Web search, Moderations, and Evaluate: Ranked web results, content classification, and typed probability answers from evaluation models.
- Auto Router: Ask which model best fits a request (
POST /v1/router/select). - Model Discovery, Templates, and Memory: Browse and search the catalog, version and publish prompt templates, and attach per-user memory to requests.
- Account: Balance, usage and rate-limit reports, audit logs, admin keys, end-user data erasure, and API versions.
Base URL
All API requests should be made to:Authentication
The Mesh API uses Bearer token authentication. You can obtain your API key from the Mesh developer dashboard.Versioning
The/v1 in every endpoint path is a stable namespace, not a version. Mesh versions its
contract by date, in a header. The newest version is 2026-09:
2026-08) if the key has none. A new key copies your organization’s default version, and
new organizations default to the newest version, so check the key’s API Version under
API Keys before you pin it. An unsupported version is rejected with
400 invalid_api_version rather than silently downgraded. See
API versioning.