Chat

Test model calls with the same Semesh 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://semesh.io/v1 and use your Semesh 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 semesh search when a request needs an exact runnable tool contract.

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

Need the full protocol?

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