Skip to content

Quickstart

If you want to call Nairon’s OpenAI-compatible endpoints directly rather than building a hotline, this is the fastest path. If you’re building a phone-answering agent instead, see the App quickstart.

Create a project with type = platform (or ask an org admin to). This redirects you to platform.v2.nairon.xyz — see the platform console.

On the platform console, mint a secret API key (nrn_sk_...) from API Keys — see API keys.

from openai import OpenAI
client = OpenAI(
api_key="NAIRON_API_KEY", # your nrn_sk_... key
base_url="https://api.v2.nairon.xyz/v1",
)
resp = client.chat.completions.create(
model="auto", # or a specific catalogue model tag
messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(resp.choices[0].message.content)

See the platform-API guide and the API doc for the full surface (chat, speech, transcription, realtime, batch, knowledge bases) and service-API for Platform / MCP for managing flows and reading usage programmatically.