Sends a DataChannel message to an AI agent.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SendAIAgentDataChannelMessage |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the AI agent in the conversation. |
39f8e0bc005e4f309379701645f4**** |
| Message |
string |
Yes |
The DataChannel message you want to send. You must specify a JSON string. The value can be up to 8,192 characters in length. |
{"key":"value"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
7B117AF5-2A16-412C-B127-FA6175ED1AD0 |
Examples
Success response
JSON format
{
"RequestId": "7B117AF5-2A16-412C-B127-FA6175ED1AD0\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.