POST
/
v1
/
batches
/
{batch_id}
/
cancel
Cancel a batch operation
curl --request POST \
  --url https://api.studio.nebius.com/v1/batches/{batch_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "endpoint": "<string>",
  "completion_window": "<string>",
  "status": "<string>",
  "created_at": 123,
  "request_counts": {},
  "input_file_id": "<string>",
  "output_file_id": "<string>",
  "error_file_id": "<string>",
  "override_settings": {
    "model": "<string>",
    "temperature": 123,
    "top_p": 123,
    "max_tokens": 123
  },
  "in_progress_at": 123,
  "finalizing_at": 123,
  "completed_at": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

batch_id
string
required

Response

Successful Response

The response is of type object.