Chat

Test model calls with the same SettleMesh key.

Use the OpenAI-compatible endpoint for chat-style calls, or search the service catalog when the task needs a tool, media model, app API, agent, or worker.

Endpoint

POST /v1/chat/completions

Point existing OpenAI SDKs at https://settlemesh.io/v1 and use your SettleMesh API key.

Identity

One account pays for calls

The same key and Aev balance work for chat, models, tools, deployed apps, agents, and local workers.

Discovery

Search before special tools

Use settlemesh search when a request needs an exact runnable tool contract.

curl
curl https://settlemesh.io/v1/chat/completions \
  -H "Authorization: Bearer $SETTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistralai/mistral-medium-3-5","messages":[{"role":"user","content":"Reply in one sentence."}]}'
cli
settlemesh search "chat model" --json
settlemesh tool list --json
settlemesh tool show llm.chat --json

Need the full protocol?

Open Docs for auth, request schemas, streaming behavior, async task polling, and CLI examples.