BatchConfigRuntimeChannel
Configures third-party channels for multiple agent runtimes in batches, supports delivering different channel configurations to different runtimes, and returns the configuration result for each configuration item.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:BatchConfigRuntimeChannel |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuntimeType |
string |
Yes |
The agent runtime type, such as CloudDesktop (Cloud Desktop). |
CloudDesktop |
| AgentPlatform |
string |
Yes |
The agent platform, such as ENTERPRISE. If the value is invalid, the error code InvalidParameter.AgentPlatform is returned. |
ENTERPRISE |
| AgentProvider |
string |
Yes |
The agent provider.
|
OpenClaw |
| ChannelConfigs |
array<object> |
Yes |
The list of channel configurations. A maximum of 200 items are supported. Each configuration item specifies an agent runtime and the third-party channel to be configured for it. Different channel configurations can be delivered to different runtimes. Multiple configuration items for the same runtime are processed sequentially. |
|
|
object |
Yes |
The channel configuration item. |
||
| RuntimeId |
string |
Yes |
The agent runtime ID. The ID mappings are as follows:
|
ecd-xgads |
| Code |
string |
Yes |
The third-party channel code, such as dingtalk-connector (DingTalk), feishu (Lark), and wecom (WeCom). System channel codes are case-insensitive. Configuring wechat and jvsclaw is not supported. If these values are passed, the entire request fails and the error code ChannelConfig.NotSupported is returned. |
dingtalk-connector |
| Name |
string |
No |
The channel name. If this parameter is not specified, the system automatically uses the code as the name. |
DingTalk |
| ConfigMode |
string |
Yes |
The configuration mode. Valid values:
|
Simple |
| Config |
string |
Yes |
The JSON string for channel configuration.
If the string is not valid JSON, the error code InvalidParameter.ValueInvalid is returned. |
{"appKey":"testKey","appSecret":"testSecret"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| Data |
array<object> |
The list of batch configuration results. Each channel configuration item corresponds to one result. |
|
|
object |
|||
| RuntimeId |
string |
The agent runtime ID. |
ecd-xgads |
| Code |
string |
The third-party channel code. |
dingtalk-connector |
| Success |
boolean |
Specifies whether the channel configuration item is configured successfully. Valid values:
|
|
| ErrorCode |
string |
The error code returned when the configuration fails. This parameter is returned only when Success is false. |
ConfigFailed |
| Message |
string |
The error message returned when the configuration fails. This parameter is returned only when Success is false. |
The runtime is not found. |
| TotalCount |
integer |
The total number of configuration results, which is the same as the number of configuration items in ChannelConfigs. |
1 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"Data": [
{
"RuntimeId": "ecd-xgads",
"Code": "dingtalk-connector",
"Success": false,
"ErrorCode": "ConfigFailed",
"Message": "The runtime is not found."
}
],
"TotalCount": 1,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.