亮色模式
列出模型
GET
https://api.openai.com/v1/models列出当前可用的型号,并提供每个型号的基本信息,例如所有者和可用性。
Request
Header 参数
Authorization
string
可选
示例值:
Bearer
Request samples
返回响应
List models(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
object
string
必需
data
array [object {4}]
必需
id
string
必需
object
string
必需
created
integer
必需
owned_by
string
必需
示例List models
{
"object": "list",
"data": [
{
"id": "model-id-0",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner"
},
{
"id": "model-id-1",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner",
},
{
"id": "model-id-2",
"object": "model",
"created": 1686935002,
"owned_by": "openai"
},
],
"object": "list"
}
最后修改时间: 9 天前