Skip to main content
POST

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
endpoint
enum<string>
required

The endpoint to use for batch processing. Each line of the uploaded input file is dispatched against this endpoint.

  • /v1/chat/completions — chat completion batches
  • /v1/audio/transcriptions — audio transcription batches (e.g. openai/whisper-large-v3)
  • /v1/audio/translations — audio translation batches
Available options:
/v1/chat/completions,
/v1/audio/transcriptions,
/v1/audio/translations
Example:

"/v1/chat/completions"

input_file_id
string
required

ID of the uploaded input file containing batch requests

Example:

"file-abc123def456ghi789"

completion_window
string

Time window for batch completion (optional)

Example:

"24h"

priority
integer

Priority for batch processing (optional)

Example:

1

model_id
string

Model to use for processing batch requests

Example:

"Qwen/Qwen3.5-9B"

Response

Job created (potentially with warnings)

job
object
warning
string