亮色模式
List models
GET
https://api.openai.com/v1/modelsList and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them.
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Request
Header 参数
Authorization
string
可选
示例值:
Bearer
Request samples
返回响应
List models(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
data
array [object {4}]
必需
id
string
必需
object
string
必需
owned_by
string
必需
permission
array [object]
必需
object
string
必需
示例List models
{
"data": [
{
"id": "model-id-0",
"object": "model",
"owned_by": "organization-owner",
"permission": [...]
},
{
"id": "model-id-1",
"object": "model",
"owned_by": "organization-owner",
"permission": [...]
},
{
"id": "model-id-2",
"object": "model",
"owned_by": "openai",
"permission": [...]
}
],
"object": "list"
}
最后修改时间: 10 天前