Apply a Self-Hosted state transition
Apply a Self-Hosted state transition
Authentication
Your Dial API key, sent as Authorization: Bearer sk_live_...
Request
Persist a mode’s config. Does not change which mode is active or whether Self-Hosted is on. The signing secret (and, for llm, the urlKey) is minted the first time a mode is saved.
A save (same config body) that also enables Self-Hosted and routes calls through config.type — enable, or switch from the other mode. Affects new calls only.
Turn Self-Hosted off. Both modes’ configs are kept.
Response
Whether Self-Hosted mode is currently driving the account’s calls.
Which mode drives calls when enabled: "llm" (Dial runs voice; your server drives the conversation in text) or "audio" (Dial pipes the raw call audio to your server, full duplex).
The LLM-mode config, or null until that mode is configured.
The audio-mode config, or null until that mode is configured.