Queries a list of LLM templates.
Operation description
You can use paging to retrieve the list of model templates under a model provider template in the Wuying Agent Management Center. You can filter results by model group ID, model provider template ID, model template ID, and model encoding. When you query by model group dimension, the default model is automatically pinned to the top.
Before you call 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
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ModelTemplateId |
string |
No |
The ID of the associated model group. |
mt-xxxx |
| ProviderTemplateId |
string |
No |
The ID of the model provider template. |
mpt-xxxx |
| LlmTemplateIds |
array |
No |
The model template IDs used for filtering. |
|
|
string |
No |
The model template ID. |
llmt-xxxx |
|
| LlmCode |
string |
No |
The model code used for filtering. Fuzzy match is supported. |
qwen3.6-plus |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| PageNumber |
integer |
No |
The page number. Pages start from page 1. Values 0 and 1 return the same result. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| TotalCount |
integer |
The total number of entries returned. |
20 |
| PageNumber |
integer |
The page number of the current page. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| Data |
array<object> |
The list of returned data objects. |
|
|
object |
The returned data object. |
||
| LlmTemplateId |
string |
The model template ID. |
llmt-xxxx |
| ProviderTemplateId |
string |
The ID of the model provider template. |
mpt-xxxx |
| LlmCode |
string |
The model code. |
qwen3.6-plus |
| Name |
string |
The template name. |
Qwen3.6-Plus |
| Description |
string |
The template description. |
千问Plus系列模型 |
| Config |
string |
The model configuration JSON object. |
{ "id": "qwen3.6-plus", "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "name": "Qwen3.6-Plus", "input": ["image", "text"], "compat": { "supportsUsageInStreaming": true }, "maxTokens": 65536, "reasoning": false, "contextWindow": 1000000 } |
| IsDefaultModel |
boolean |
Indicates whether this is the default model in the associated model group. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"TotalCount": 20,
"PageNumber": 1,
"PageSize": 10,
"Data": [
{
"LlmTemplateId": "llmt-xxxx",
"ProviderTemplateId": "mpt-xxxx",
"LlmCode": "qwen3.6-plus",
"Name": "Qwen3.6-Plus",
"Description": "千问Plus系列模型",
"Config": "{\n\t\"id\": \"qwen3.6-plus\",\n\t\"cost\": {\n\t\t\"input\": 0,\n\t\t\"output\": 0,\n\t\t\"cacheRead\": 0,\n\t\t\"cacheWrite\": 0\n\t},\n\t\"name\": \"Qwen3.6-Plus\",\n\t\"input\": [\"image\", \"text\"],\n\t\"compat\": {\n\t\t\"supportsUsageInStreaming\": true\n\t},\n\t\"maxTokens\": 65536,\n\t\"reasoning\": false,\n\t\"contextWindow\": 1000000\n}",
"IsDefaultModel": true
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.