Skip to main content
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.

Versioning

The /v1 above is a stable namespace, not a version — Mesh versions its contract by date, in a header:
Send no header and you get the oldest supported version, so a new version never moves existing traffic. An unsupported version is rejected with 400 invalid_api_version rather than silently downgraded. See API versioning.

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.