Documentation Index
Fetch the complete documentation index at: https://docs.meshrouter.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/chat/completions
MESH extensions
| Field | Description |
|---|---|
models | Ordered fallback model list |
route | auto or fallback |
privacy | Standard or Nitro privacy-mode envelope |
response_format | text, json_object, or json_schema |
tools | OpenAI-compatible function definitions |
tool_choice | auto, none, or a named function |
messages shape.
Response headers
| Header | Description |
|---|---|
x-mesh-upstream-cost-usd | Model cost for this call |
x-mesh-margin-usd | MESH margin |
x-mesh-total-usd | Total USD drawn from your balance |
x-mesh-receipt-id | Receipt ID for /v1/receipts/{id} |