Endpoint

Messages API

Anthropic-style chat endpoint. Send a list of messages and receive one assistant reply. Only models enabled for your plan are accepted; there is no silent model fallback.

POST https://ai.omnira-ai.net/api/v1/messagesBearer authJSON body
cURLPOST /api/v1/messages
curl https://ai.omnira-ai.net/api/v1/messages \
  -H "Authorization: Bearer omnira_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-fable-5-1","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'