亮色模式
Retrieve file
GET
https://api.openai.com/v1/files/{file_id}Returns information about a specific file.
Request
Path 参数
file_id
string
必需
The ID of the file to use for this request.
Header 参数
Authorization
string
可选
示例值:
Bearer
Request samples
返回响应
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
id
string
必需
object
string
必需
bytes
integer
必需
created_at
integer
必需
filename
string
必需
purpose
string
必需
示例
{
"id": "file-abc123",
"object": "file",
"bytes": 120000,
"created_at": 1677610602,
"filename": "mydata.jsonl",
"purpose": "fine-tune",
}
最后修改时间: 10 天前