模型列表
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /api/v1/instances/{instanceId}/listModelCatalog HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| instanceId |
string |
否 |
实例 id。 |
hgprecn-cn-i7m2ucpyu005 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| maxResults |
integer |
否 |
分页大小 默认值: 20 最大值: 100 |
50 |
| nextToken |
string |
否 |
查询凭证(Token),取值为上一次 API 调用返回的 NextToken 参数值。 |
uat-assembly-cut-3d-bbig |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
819A7F0F-2951-540F-BD94-6A41ECF0281F |
| nextToken |
string |
查询凭证(Token),取值为上一次 API 调用返回的 NextToken 参数值。 |
None |
| maxResults |
integer |
maxResults |
50 |
| modelList |
array<object> |
模型列表 |
|
|
object |
|||
| modelType |
string |
模型名称。 |
qwen3.5-plus |
| taskType |
string |
模型用途 |
chat/completions |
| provider |
string |
底层模型提供方。 |
bailian |
| defaultParams |
string |
默认参数 |
{"timeout": 600, "max_retries": 10, "max_retry_delay": 8, "initial_retry_delay": 0.5} |
| paramsExample |
string |
参数示例 |
{ "extra_body": { "translation_options": { "source_lang": "zh", "domains": "The sentence is from Ali Cloud IT domain. ", "terms": [ { "source": "生物传感器", "target": "biological sensor" }, { "source": "身体健康状况", "target": "health status of the body" } ], "tm_list": [ { "source": "您可以通过如下方式查看集群的内核版本信息:", "target": "You can use one of the following methods to query the engine version of a cluster:" } ] } } } |
| extra |
string |
其他参数 |
{\"deepThink\":false,\"onlineSearch\":true} |
| serviceDeployRegion |
string |
部署地域 |
cn-beijing |
示例
正常返回示例
JSON格式
{
"requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
"nextToken": "None",
"maxResults": 50,
"modelList": [
{
"modelType": "qwen3.5-plus\n",
"taskType": "chat/completions",
"provider": "bailian",
"defaultParams": "{\"timeout\": 600, \"max_retries\": 10, \"max_retry_delay\": 8, \"initial_retry_delay\": 0.5}",
"paramsExample": "{\n \"extra_body\": {\n \"translation_options\": {\n \"source_lang\": \"zh\",\n \"domains\": \"The sentence is from Ali Cloud IT domain. \", \n \"terms\": [\n {\n \"source\": \"生物传感器\",\n \"target\": \"biological sensor\"\n },\n {\n \"source\": \"身体健康状况\",\n \"target\": \"health status of the body\"\n }\n ],\n \"tm_list\": [\n {\n \"source\": \"您可以通过如下方式查看集群的内核版本信息:\",\n \"target\": \"You can use one of the following methods to query the engine version of a cluster:\"\n }\n ]\n }\n }\n}",
"extra": "{\\\"deepThink\\\":false,\\\"onlineSearch\\\":true}",
"serviceDeployRegion": "cn-beijing"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。