Reset Agent Instance Context
Description
This API is used to reset the message list as context used by the agent instance during a voice conversation.
Request prototype
- Request method: POST
- Request body format: JSON
- Request URL: https://aigc-aiagent-api.zegotech.cn?Action=ResetAgentInstanceMsgList
- Transmission protocol: HTTPS
- QPS limit: 10 times/second
Request parameters
Listed below are the parameters specific to this request and part of the common request parameters. For the complete list of common request parameters, see Accessing Server APIs - Common request parameters.
Parameter | Type | Required | Description |
---|---|---|---|
AgentInstanceId | String | Yes | The unique identifier of the agent instance. |
Request example
-
Request URL:
Untitledhttps://aigc-aiagent-api.zegotech.cn?Action=ResetAgentInstanceMsgList &<Common request parameters>
1 -
Request body:
Untitled{ "AgentInstanceId": "1907616178474336256" }
1
Response parameters
Parameter | Type | Description |
---|---|---|
Code | Number | The return code. 0 indicates success, and other values indicate failure. For code explanations and processing suggestions, see Return codes. |
Message | String | Explanation of the request result. |
RequestId | String | Request ID. |
Response example
Untitled
{
"Code": 0,
"Message": "success",
"RequestId": "2537521374375652066"
}
1