ModelSell 文档
管理接口模型

获取指定模型详情

获取指定模型详情。该接口来自 new-api 当前 router 代码,返回统一管理接口响应;具体 data 结构随业务对象变化。

GET
/v1/models/{model}

获取指定模型详情。该接口来自 new-api 当前 router 代码,返回统一管理接口响应;具体 data 结构随业务对象变化。

Authorization

bearerAuth
AuthorizationBearer <token>

使用 Authorization Bearer API Key 进行鉴权。

In: header

Path Parameters

model*string

模型 ID。

Response Body

application/json

curl -X GET "https://example.com/v1/models/string"
{
  "success": true,
  "message": "string",
  "data": null
}