ManagementModels
Gemini 格式
查询当前 API Key 可用的 Gemini 兼容模型列表。
查询当前 API Key 可用的 Gemini 兼容模型列表。
Authorization
bearerAuth AuthorizationBearer <token>
使用 Authorization Bearer API Key 进行鉴权。
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1beta/models"{
"models": [
{}
]
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}