Skip to main content
POST
SetVoiceAgentRealtimeModelAPI chooses how a voice agent turns speech into a

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

slug
string
required

Body

application/json
realtime_model
string
required

Response

Success response

agent
string
name
string
realtime_model
string

a low-latency provider-run model tuned with its own speech recognition and voice (not speech-to-speech); the LLM, TTS model, ASR provider and expressive mode become provider-managed and are ignored while it is set. Max suits tool-heavy work, Mini is cheaper. "off" is the cascade (defaultVoiceAgentLLM, defaultVoiceAgentTTSModel). Max is the default (defaultVoiceRealtimeModel) behind the search-first rule (searchFirstRuleBody; docs/voice.md); "off" is an explicit stored opt-out. realtimeModelProviderID is the one place these values become provider ids.

widget
string