Skip to main content

查询注册模型

POST 查询注册模型

POST /openapi/v1/query-models

使用接口前,请看本地模型接入->概述的接口调用方式 查询学校已注册成功的所有模型

Body 请求参数

{}

请求参数

名称位置类型必选中文名说明
Authorizationheaderstringnone
X-ENVheaderstring通过appid和appsecret获取的env
bodybodyobjectnone

返回示例

{
"code": 0,
"message": "OK",
"data": {
"models": [
{
"modelName": "deepseek-V33",
"modelId": "4ebb2c1569ff2a722bb18f49bc744a1f",
"registryUrl": "http://test.com/path",
"apiKey": "test",
"createTime": 1741587555265,
"updateTime": 1741587555265
}
]
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» codeintegertruenone返回状态码none
» messagestringtruenone返回信息none
» dataobjecttruenonenone
»» models[object]truenone模型列表none
»»» modelNamestringfalsenone模型名称none
»»» modelIdstringfalsenone模型唯一idnone
»»» registryUrlstringfalsenone模型接口注册地址none
»»» apiKeystringfalsenone模型接口调用密钥none
»»» createTimeintegerfalsenone创建时间13位时间戳
»»» updateTimeintegerfalsenone更新时间13位时间戳