The API on a single host
Platform
The Qomni API now lives at api.qomni.ai, with the product and the version in
the path: https://api.qomni.ai/agents/v1. The previous host
(agents-api.qomni.ai) no longer serves requests: it responds 404 api_host_moved with the
new base URL, without redirecting.
Changed
- API base URL:
https://api.qomni.ai/agents/v1, previouslyhttps://agents-api.qomni.ai/v1. Change your client’s base URL; the paths, keys and responses do not change. See Welcome. - Realtime: create the session with
POST https://api.qomni.ai/agents/v1/realtime/sessions; itsurliswss://api.qomni.ai/agents/v1/realtime?session=…. See Talk to an agent in real time. - TypeScript SDK:
baseUrlis now the host (by defaulthttps://api.qomni.ai) and each product adds its/{product}/v1. See Use the TypeScript SDK. - New errors:
404 api_host_movedon the old host and404 unknown_apiwhen the path does not start with an API. See Errors.