查询指定模型信息。
操作类型: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"。 |