Skip to main content
PUT
/
api
/
v0
/
autojobs
/
{id}
Update autojob
curl --request PUT \
  --url https://console.vast.ai/api/v0/autojobs/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "min_load": "<string>",
  "target_util": "<string>",
  "cold_mult": "<string>",
  "test_workers": "<string>",
  "template_hash": "<string>",
  "template_id": "<string>",
  "search_params": "<string>",
  "launch_args": "<string>",
  "gpu_ram": "<string>",
  "endpoint_id": "<string>",
  "apikey_id": "<string>",
  "search_query": "<string>"
}
'
{
  "success": true,
  "msg": "Operation completed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

The id

Body

application/json
id
string

The id

min_load
string

The min load

target_util
string

The target util

cold_mult
string

The cold mult

test_workers
string

The test workers

template_hash
string

The template hash

template_id
string

The template id

search_params
string

The search params

launch_args
string

The launch args

gpu_ram
string

The gpu ram

endpoint_id
string

The endpoint id

apikey_id
string

The apikey id

search_query
string

The search query

Response

Successful response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"