OpenAI/createBatch

Online calls unavailable · details below

OpenAIOpenAI API

POST/batches

Manage create Batch.

Contract-preserving POST Endpoint for create Batch in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.

All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.

Request

operationId
createBatch
Server
https://api.openai.com/v1
Authentication
ApiKeyAuth, AdminApiKeyAuth

Request parameters

No URL, query, or header parameters.

Request body

CreateBatchRequestrequired

Content-Type: application/json

Properties: completion_windowendpointinput_file_idmetadataoutput_expires_after

Responses

200

Batchapplication/json

Successful supplier response.

Properties: 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": {}
  }
}