API reference
Interactive documentation for the Mesh API
The Mesh API provides a unified interface for accessing various AI models through a single API key. This interactive reference allows you to explore the available endpoints, test them directly in the browser, and see code snippets in your preferred language.
Key Features
- Chat Completions: OpenAI-compatible text, multimodal, and streaming inference.
- Responses API: Reasoning-style response generation for supported models.
- Embeddings: Dense vector creation for search and retrieval workflows.
- Compare: Run the same prompt across multiple models in one request.
- Files and Batches: Upload request bundles, create asynchronous jobs, and download results.
- Model Discovery and Templates: Browse available models and reuse prompt templates.
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.
Interactive Explorer
You can use the “Try It” button on any endpoint to send real requests to the Mesh API. Make sure to provide your API key in the authentication section.