API Reference
Nairon has two APIs, each with its own host and its own OpenAPI document:
- platform-api —
https://api.v2.nairon.xyz— the OpenAI-compatible data plane (chat, speech, transcription, realtime, batch, knowledge-base stores). - service-api —
https://service.v2.nairon.xyz— the REST control plane (flows, phone numbers, agent profiles, usage, partner/headless) plus an MCP server at/mcp.
For a narrative walkthrough with worked examples, see the Developer guide.
Raw OpenAPI documents
Section titled “Raw OpenAPI documents”Both specs are generated by their respective live services and mirrored here for tooling (codegen, Postman/Insomnia import, etc.):
You can also fetch the current spec directly from each service:
curl https://api.v2.nairon.xyz/openapi.jsoncurl https://service.v2.nairon.xyz/docs/json