管理接口模型
OpenAI 格式
查询当前 API Key 可用的 OpenAI 兼容模型列表。
查询当前 API Key 可用的 OpenAI 兼容模型列表。
Authorization
bearerAuth AuthorizationBearer <token>
使用 Authorization Bearer API Key 进行鉴权。
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/models"{
"object": "list",
"data": [
{
"id": "modelsell-chat",
"object": "model",
"owned_by": "string",
"context_window": 128000,
"created": 0
}
]
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}