Vast.ai API
Machines

list machine

1min
PUT
https://console.vast.ai/api/v0/machines/create_asks/
Production server

Creates or updates ask contracts for a machine to list it for rent on the vast.ai platform. Allows setting pricing, minimum GPU requirements, end date and discount rates.

CLI Usage: vast list machine <machine_id> [options]

Authentication
BearerAuth
Body Parameters
body
*
machine
*
price_gpu
price_disk
price_inetu
price_inetd
price_min_bid
min_chunk
end_date
credit_discount_max
Responses
200
Successful response
Example
{"success":true,"extended":2}
success
extended
msg
400
Bad Request
error
msg
403
Forbidden
error
msg