Queries a list of model templates.
Operation description
You can use paged query to retrieve model groups that have been created in the Wuying Agent Management Center, with paging support. You can filter results by Agent provider, Agent platform, template group ID, and whether models have been configured.
Before calling this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ListModelTemplates |
list |
*全部资源
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BizType |
integer |
Yes |
The business type. Valid values:
|
1 |
| AgentPlatform |
string |
No |
The Agent platform. Valid values:
|
ENTERPRISE |
| AgentProvider |
string |
Yes |
The name of the Agent provider. Valid values:
|
OpenClaw |
| ModelTemplateIdList |
array |
No |
The list of template group IDs used for filtering. |
|
|
string |
No |
The template group ID used for filtering. |
mt-xxxx |
|
| HasModel |
boolean |
No |
Specifies whether models have been configured in the group. Valid values:
|
true |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| PageNumber |
integer |
No |
The page number, starting from 1. Values 0 and 1 return the same result. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| PageSize |
integer |
The number of entries per page in the query result. |
20 |
| PageNumber |
integer |
The page number of the current query result. |
1 |
| TotalCount |
integer |
The total number of entries in the query result. |
30 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Data |
array<object> |
The list of returned data objects. |
|
|
object |
The returned data object. |
||
| ModelTemplateId |
string |
The model group ID. |
mt-xxxx |
| AgentProvider |
string |
The name of the Agent provider. Valid values:
|
OpenClaw |
| Name |
string |
The template group name. |
model-template-001 |
| Description |
string |
The template group description. |
测试模型分组 |
| Config |
string |
The model group configuration JSON object. |
{ "defaults": { "model": { "primary": "bailian/qwen3.5-plus" } } } |
| HasModel |
boolean |
Specifies whether models have been configured in the group. Valid values:
|
true |
Examples
Success response
JSON format
{
"PageSize": 20,
"PageNumber": 1,
"TotalCount": 30,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Data": [
{
"ModelTemplateId": "mt-xxxx",
"AgentProvider": "OpenClaw",
"Name": "model-template-001",
"Description": "测试模型分组",
"Config": "{\n\t\"defaults\": {\n\t\t\"model\": {\n\t\t\t\"primary\": \"bailian/qwen3.5-plus\"\n\t\t}\n\t}\n}",
"HasModel": true
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.