Skip to navigation

Update Live Agent

View as Markdown

Update a running MIA voice agent mid-call: its prompt variables, system prompt or wake words. Saved agent configurations are not changed.

Authentication

AuthorizationToken

Format: Token <your_api_key>

Path parameters

bot_idstringRequired

Request

This endpoint expects an object.
agent_config_paramsmap from strings to stringsOptional
New values for the prompt's template variables. Scalar values only.
system_promptstringOptional1-32000 characters
wake_word_enabledbooleanOptional
wake_wordslist of stringsOptional
wait_for_ackbooleanOptional

Send true to wait for the agent’s result. The response status is then applied, partially_applied, failed, or accepted (no answer in time). Without it, the call returns accepted at once. A value that is not a boolean returns 400.

Response

Accepted.
statusstringOptional

accepted without wait_for_ack. With wait_for_ack: true: applied, partially_applied, failed or accepted.

bot_idstringOptional
commandstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
503
Service Unavailable Error