PUT
/
api
/
v0
/
machines
/
create_asks
/
list machine
curl --request PUT \
  --url https://console.vast.ai/api/v0/machines/create_asks/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "machine": 123,
  "price_gpu": 123,
  "price_disk": 123,
  "price_inetu": 123,
  "price_inetd": 123,
  "price_min_bid": 123,
  "min_chunk": 1,
  "end_date": 123,
  "credit_discount_max": 123
}'
{
  "success": true,
  "extended": 2
}

Authorizations

Authorization
string
header
required

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

Body

application/json
machine
integer
required

ID of the machine to list

price_gpu
number

Price per GPU per hour

price_disk
number

Price per GB of disk storage

price_inetu
number

Price per GB of upload bandwidth

price_inetd
number

Price per GB of download bandwidth

price_min_bid
number

Minimum bid price allowed

min_chunk
integer
default:1

Minimum number of GPUs that must be rented together

end_date
number

Unix timestamp for when the listing expires

credit_discount_max
number

Maximum discount rate allowed for prepaid credits

Response

Successful response

success
boolean
extended
integer

Number of client contracts extended to new end date

msg
string

Status message if success is false