亮色模式
List files
GET
https://api.openai.com/v1/filesReturns a list of files.
Request
Header 参数
Authorization
string
可选
示例值:
Bearer
Request samples
返回响应
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
data
array [object {6}]
必需
id
string
必需
object
string
必需
bytes
integer
必需
created_at
integer
必需
filename
string
必需
purpose
string
必需
object
string
必需
示例
{
"data": [
{
"id": "file-abc123",
"object": "file",
"bytes": 175,
"created_at": 1613677385,
"filename": "salesOverview.pdf",
"purpose": "assistants",
},
{
"id": "file-abc123",
"object": "file",
"bytes": 140,
"created_at": 1613779121,
"filename": "puppy.jsonl",
"purpose": "fine-tune",
}
],
"object": "list"
}
最后修改时间: 10 天前