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

Response

Successful Response

The response is of type object.