Loading 0%
§ Public API Documentation · v1

Documentation Hub

Complete API reference for the MeshInfer developer platform — routing, inference, node lifecycle, shard behavior, monetization, marketplace, and governance.

quickstart

Hello Inference — Your First Request

Send your first mesh inference request in under 5 minutes.

Quickstart

Send a POST request to the mesh inference endpoint with your API key and prompt.

The router will automatically select the best route (local, mesh, or cloud) based on your cost preference and privacy policy.

Code Examples
cURL
curl -X POST https://api.meshinfer.ai/v1/inference \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"prompt": "Hello, mesh!", "model": "llama-3.2-1b"}'
JavaScript
const res = await fetch('https://api.meshinfer.ai/v1/inference', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
  body: JSON.stringify({ prompt: 'Hello, mesh!', model: 'llama-3.2-1b' }),
});
const data = await res.json();
Version: v1 · Last updated: 7/25/2026