列出模型
GET
https://api.pro365.top/v1/models
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.pro365.top/v1/models' \
--header 'Authorization: Bearer '
返回响应
🟢200List models
application/json
Body
data
array [object {4}]
必需
id
string
必需
object
string
必需
owned_by
string
必需
permission
array [object]
必需
object
string
必需
示例
{
"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"
}
修改于 2024-01-12 08:47:23