Usage
Arguments
Query to search for. default: ‘external=false verified=true disk_space>=1’, pass -n to ignore default
Options
Disable default query (alias:
--no-default)Amount of storage to use for pricing, in GiB. default=1.0GiB
Comma-separated list of fields to sort on. postfix field with - to sort desc. ex: -o ‘disk_space,inet_up-’. default=‘score-’ (alias:
--order)Description
Query syntax: query = comparison comparison… comparison = field op value field = <name of a field> op = one of: <, <=, ==, !=, >=, >, in, notin value = <bool, int, float, string> | ‘any’ | [value0, value1, …] bool: True, False note: to pass ’>’ and ’<’ on the command line, make sure to use quotes note: to encode a string query value (ie for gpu_name), replace any spaces ’ ’ with underscore ’_‘Examples
Global Options
The following options are available for all commands:| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |