Queries the list of model provider templates.
Operation description
You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. You can filter results by provider name, model group ID, and provider template ID. Paging is supported.
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:ListModelProviderTemplates |
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 |
| ProviderName |
string |
No |
The name of the model provider to filter by. |
bailian |
| ModelTemplateId |
string |
No |
The model group ID to filter by. |
mt-xxxx |
| ProviderTemplateIds |
array |
No |
The model provider template IDs to filter by. |
|
|
string |
No |
The model provider template ID. |
mpt-xxxx |
|
| 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 response parameters. |
||
| PageSize |
integer |
The number of entries per page in the query result. |
20 |
| PageNumber |
integer |
The page number of the current query result. |
1 |
| Data |
array<object> |
The list of returned data objects. |
|
|
object |
The returned data object. |
||
| ProviderTemplateId |
string |
The model provider template ID. |
mpt-xxxx |
| ProviderType |
string |
The model provider type. Valid values:
|
WuyingCredit |
| ProviderName |
string |
The name of the model provider. |
bailian |
| Name |
string |
The name of the model provider template. |
阿里云百炼 |
| Description |
string |
The description of the model provider template. |
阿里云百炼服务商 |
| Config |
string |
The model provider configuration as a JSON object. |
{ "api": "openai-completions", "apiKey": "sk-xxxx", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1" } |
| EnableWuyingProxy |
boolean |
Indicates whether the WUYING secure gateway proxy is enabled. Valid values:
|
true |
| TotalCount |
integer |
The total number of entries returned. |
30 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"PageSize": 20,
"PageNumber": 1,
"Data": [
{
"ProviderTemplateId": "mpt-xxxx",
"ProviderType": "WuyingCredit",
"ProviderName": "bailian",
"Name": "阿里云百炼",
"Description": "阿里云百炼服务商",
"Config": "{\n\t\"api\": \"openai-completions\",\n\t\"apiKey\": \"sk-xxxx\",\n\t\"baseUrl\": \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n}",
"EnableWuyingProxy": true
}
],
"TotalCount": 30,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.