Update prompt settings
Update one prompt setting per request using key and value. Read the
prompt settings schema
for keys, value types and choices.
Common settings:
| Setting | Key | Value |
|---|---|---|
| Instructions | prompts.user_prompt | A string |
| Greeting | prompts.initial_response | A string, up to 1000 characters |
| Mute the caller while the agent speaks | prompts.mute_user_while_assistant_speaks | JSON true or false |
| Transcription language | prompts.transcription_locale | A value from prompts.transcription_locales |
For example, to mute the caller while the agent speaks:
Send false to disable it. Use JSON booleans, without quotes. Language-model selection is a voice
setting: Update voice settings.
Autorisierungen
Body
Update one setting. Both fields must be present. The key must be a non-blank string; value is validated according to the selected setting.
Antwort
Updated prompt configuration.
Response format for reading and updating a settings group. On 409 and 422 the same format is returned with errors filled and values/revision reflecting the unchanged current state.