Calls
POST /v1/agent/buildOptions
string
required
Name of the agent.
string
required
One-line description of what the agent should do. Roark authors the system prompt from this.
string
Optional display name of the agent’s voice. The authored prompt matches its delivery to it.
object
Optional provider voice the hosted agent speaks with.
string
required
Text-to-speech provider, for example ELEVENLABS. One of
CARTESIA, ELEVENLABS, OPENAI, RIMEstring
required
The provider’s id for the voice.
string
The provider’s voice model, for example eleven_flash_v2_5. Its current one when omitted.
object
Optional transcriber the hosted agent hears with. Roark’s default when omitted.
string
required
Speech-to-text provider, for example DEEPGRAM. One of
DEEPGRAM, OPENAI_WHISPER, SPEECHMATICS, ASSEMBLYAI, ELEVENLABSstring
required
The provider’s model id, for example nova-3.
object
Optional text model the hosted agent thinks with. Roark’s default when omitted.
string
required
Text model provider, for example OPENAI. One of
OPENAI, ANTHROPIC, GOOGLE, XAI, ULTRAVOX, AWS, ELEVENLABSstring
required
The provider’s model id, for example gpt-4.1.