Responds to an agent diagnostic interaction.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rocketmq:RespondAgentConversationAction |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/conversations/{conversationId}/actions/{actionId}/respond HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| conversationId |
string |
Yes |
The conversation ID. |
0198c8a91f4d7f01a3c21e97 |
| actionId |
string |
Yes |
The interaction action ID. |
tool_01 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The agent interaction response request. |
{"decision":"allow","note":"Allow read-only query execution"} |
| answers |
object |
No |
The answers to agent follow-up questions, where the key is the question text. |
{"Select the instance region":"China (Hangzhou)"} |
|
string |
No |
The answer content for agent follow-up questions. |
China (Hangzhou) |
|
| decision |
string |
No |
The tool approval decision. Valid values: allow, deny. |
allow |
| note |
string |
No |
The approval note. |
Allow read-only query execution |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| accepted |
boolean |
Indicates whether the current response is accepted. |
true |
| continuationCreated |
boolean |
Indicates whether a continuation run is created due to delayed approval. |
true |
| runId |
string |
The continuation run ID. This parameter is returned only when continuationCreated is true. |
0198c8a91f4d7f01a3c21e98 |
Examples
Success response
JSON format
{
"accepted": true,
"continuationCreated": true,
"runId": "0198c8a91f4d7f01a3c21e98"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.