curl --request GET \
--url https://api.ppinfra.com/openai/v1/batches \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"data": [
{
"id": "<string>",
"object": "<string>",
"endpoint": "<string>",
"input_file_id": "<string>",
"output_file_id": "<string>",
"error_file_id": "<string>",
"completion_window": "<string>",
"in_progress_at": {},
"expires_at": {},
"finalizing_at": {},
"completed_at": {},
"failed_at": {},
"expired_at": {},
"cancelling_at": {},
"cancelled_at": {},
"status": "<string>",
"errors": "<string>",
"version": 123,
"created_at": "<string>",
"updated_at": {},
"created_by": "<string>",
"created_by_key_id": "<string>",
"remark": "<string>",
"total": 123,
"completed": 123,
"failed": 123,
"metadata": {},
"request_counts": {
"total": 123,
"completed": 123,
"failed": 123
}
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>",
"object": "<string>"
}
curl --request GET \
--url https://api.ppinfra.com/openai/v1/batches \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"data": [
{
"id": "<string>",
"object": "<string>",
"endpoint": "<string>",
"input_file_id": "<string>",
"output_file_id": "<string>",
"error_file_id": "<string>",
"completion_window": "<string>",
"in_progress_at": {},
"expires_at": {},
"finalizing_at": {},
"completed_at": {},
"failed_at": {},
"expired_at": {},
"cancelling_at": {},
"cancelled_at": {},
"status": "<string>",
"errors": "<string>",
"version": 123,
"created_at": "<string>",
"updated_at": {},
"created_by": "<string>",
"created_by_key_id": "<string>",
"remark": "<string>",
"total": 123,
"completed": 123,
"failed": 123,
"metadata": {},
"request_counts": {
"total": 123,
"completed": 123,
"failed": 123
}
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>",
"object": "<string>"
}
application/json
Show properties
batch
。48h
。VALIDATING
- 在批处理开始前正在验证输入文件PROGRESS
- 批处理进行中COMPLETED
- 批处理成功完成FAILED
- 批处理失败EXPIRED
- 批处理超过截止时间CANCELLING
- 正在取消批处理CANCELLED
- 批处理已取消list
。