Skip to main content
POST
/
v1
/
batches
Create a batch operation
curl --request POST \
  --url https://api.studio.nebius.com/v1/batches \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "endpoint": "<string>",
  "input_file_id": "<string>",
  "completion_window": "<string>",
  "override_settings": {
    "model": "<string>",
    "temperature": 123,
    "top_p": 123,
    "max_tokens": 123
  },
  "metadata": {}
}'
{
  "id": "<string>",
  "object": "<string>",
  "endpoint": "<string>",
  "input_file_id": "<string>",
  "completion_window": "<string>",
  "status": "<string>",
  "created_at": 123,
  "request_counts": {},
  "output_file_id": "<string>",
  "error_file_id": "<string>",
  "override_settings": {
    "model": "<string>",
    "temperature": 123,
    "top_p": 123,
    "max_tokens": 123
  },
  "metadata": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
endpoint
string
required
input_file_id
string
required
completion_window
string
required
override_settings
object | null
metadata
object | null

Response

Successful Response

id
string
required
object
string
required
endpoint
string
required
input_file_id
string
required
completion_window
string
required
status
string
required
created_at
integer
required
request_counts
object
required
output_file_id
string | null
error_file_id
string | null
override_settings
object | null
metadata
object | null