v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Network Volumes

list network-volume

Lists a network disk for rent as network volumes, or updates an existing listing with a new price/size/end date/discount.

CLI Usage: vastai list network-volume <disk_id> [options]

post/api/v0/network_volume/

Request body

price_disknumber float

Price per GB of network volume storage

disk_idinteger required

ID of network disk for which offer is being created

sizeinteger

Size in GB of the amount of space available to be rented

credit_discount_maxnumber float

Maximum discount rate allowed for prepaid credits

end_datenumber float

Unix timestamp for when the listing expires

Response

Successful response

successboolean
msgstring

status message

Example response

{
  "success": true,
  "disk_id": "created network volume ask with id 6 and size 24"
}