Skip to main content

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.

MESH API keys start with mesh_live_ or mesh_test_. Operators can create separate keys for projects, clients, and team members while drawing from one account balance.
curl https://api.meshrouter.app/v1/api-keys \
  -H "Authorization: Bearer mesh_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "production app",
    "scopes": ["chat", "usage"],
    "limits": {
      "requestsPerMinute": 120,
      "monthlyRequestLimit": 10000,
      "monthlyUsdLimit": 100
    }
  }'
The secret is returned once. Store only hashed keys server-side, update budgets with PATCH /v1/api-keys/{id}/limits, and revoke leaked keys with DELETE /v1/api-keys/{id}.