请求头
枚举值:
application/json
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
响应
表示请求结果的 HTTP 状态码。
关于请求结果的描述信息。
文件对象数组。
curl --request GET \
--url https://api.ppinfra.com/openai/v1/files \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"code": "<string>",
"message": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"bytes": 123,
"filename": "<string>",
"created_at": 123,
"expires_at": 123,
"purpose": "<string>",
"metadata": {
"total_requests": 123
}
}
]
}
curl --request GET \
--url https://api.ppinfra.com/openai/v1/files \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"code": "<string>",
"message": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"bytes": 123,
"filename": "<string>",
"created_at": 123,
"expires_at": 123,
"purpose": "<string>",
"metadata": {
"total_requests": 123
}
}
]
}
application/json
Show properties
file
。batch
- 批处理的输入文件batch_output
- 批处理的输出文件