Skip to main content
list disk space for rent as a network volume
This is a host command, used for managing machines you are renting out on Vast.ai.

Usage

vastai list network volume DISK_ID [options]

Arguments

disk_id
integer
required
id of network disk to list

Options

-p
number
default:"0.15"
storage price in /GB/month,default:/GB/month, default: %(default).2f/GB/month (alias: --price_disk)
-e
string
contract offer expiration - the available until date (optional, in unix float timestamp or MM/DD/YYYY format), default 1 month (alias: --end_date)
-s
integer
default:"15"
size of disk space allocated to offer in GB, default %(default)s GB (alias: --size)

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)