跳转到主要内容
GET
https://api.ppinfra.com
/
openai
/
v1
/
batches
查询批处理任务列表
curl --request GET \
  --url https://api.ppinfra.com/openai/v1/batches
查询所有可用的批处理任务列表。

请求头

Content-Type
string
required
枚举值: application/json
Authorization
string
required
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。

响应

data
array
required
批处理任务对象数组。
first_id
string
required
列表中第一个批处理任务的 ID。
has_more
boolean
required
指示在该列表之外是否还有更多批处理任务。
last_id
string
required
列表中最后一个批处理任务的 ID。
object
string
required
对象类型,恒为 list