OpenAIOpenAI API
GET/batches/{batch_id}
读取retrieve Batch。
OpenAI API 中用于 retrieve Batch 的保留合约 GET Endpoint。模型与资源相关值由调用方在运行时提供。
覆盖固定 MIT 许可官方 revision 中全部 288 个 OpenAI Platform REST Endpoint(含类型化 SSE 流式与 Realtime 调用管理)。Hub 提供文档与独立 SDK/CLI,但不代理模型、账户或用量数据;调用方通过本地 API key 直连。
请求
- operationId
retrieveBatch- 服务器
https://api.openai.com/v1- 认证
- ApiKeyAuth, AdminApiKeyAuth
请求参数
batch_id
pathstring必填
OpenAI API 合约中的 batch id 值。
响应
200
Batchapplication/json
供应商成功响应。
字段: cancelled_atcancelling_atcompleted_atcompletion_windowcreated_atendpointerror_file_iderrorsexpired_atexpires_atfailed_atfinalizing_atidin_progress_atinput_file_idmetadatamodelobjectoutput_file_idrequest_countsstatususage
{
"cancelled_at": 0,
"cancelling_at": 0,
"completed_at": 0,
"created_at": 0,
"errors": {
"data": {}
}
}