查询单个模型信息
接口功能
查询指定模型信息。
接口格式
操作类型:GET
URL:https://{ip}:{port}/v1/models/{model}
 {ip}和{port}请使用业务面的IP地址和端口号,即“ipAddress”和“port”。
请求参数
URL链接中{model}字段为模型名称。
使用样例
请求样例:
GET https://{ip}:{port}/v1/models/model-id-0
响应样例:
{
    "id": "model-id-0",
    "object": "model",
    "created": 1686935002,
    "owned_by": "MindIE Server"
}
响应状态码:200
输出说明
参数  | 
类型  | 
说明  | 
|---|---|---|
id  | 
string  | 
模型名称。  | 
object  | 
string  | 
数据结果类型,默认"model"。  | 
created  | 
int  | 
模型加载时间戳,即服务启动时间戳,单位:秒。  | 
owned_by  | 
string  | 
模型的拥有者,默认返回"MindIE Server"。  | 
父主题: 兼容OpenAI接口