UpdateAgent
Update an AI Agent
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rtc:UpdateAgent |
none |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. Specify only one ID. You can create and query applications in the console. |
4eah**** |
| ChannelId |
string |
Yes |
The existing channel ID. Specify only one ID. |
yourChannelId |
| TaskId |
string |
Yes |
The task ID. Specify only one ID. |
yourTaskId |
| VoiceChatConfig |
object |
No |
Configuration for AI voice conversation. |
|
| InterruptMode |
integer |
No |
1 – Enable voice interruption. 2 – Disable voice interruption.If this field is not included, no update occurs. |
2 |
| ChatMode |
integer |
No |
1 – Natural conversation mode. 2 – Walkie-talkie mode.If this field is not included, no update occurs. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
760bad53276431c499e30dc36f6b26be |
Examples
Success response
JSON format
{
"RequestId": "760bad53276431c499e30dc36f6b26be"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.