Skip to main content
Search for template results using custom query

Usage

Arguments

query
string
required
Search query in simple query syntax (see below)

Description

Query syntax
  • Wrap > and < in quotes on the command line
  • For string values (e.g. gpu_name), replace spaces with underscores: RTX_3090 not RTX 3090

Examples

Available Fields

FieldTypeDescription
creator_idintID of creator
created_atfloattime of initial template creation (UTC epoch timestamp)
count_createdintnumber of instances created (popularity)
default_tagstringimage default tag
docker_login_repostringimage docker repository
idinttemplate unique ID
imagestringimage used for template
jup_directboolsupports jupyter direct
hash_idstringunique hash ID of template
namestringdisplayable name
recent_create_datefloatlast time of instance creation (UTC epoch timestamp)
recommended_disk_spacefloatmin disk space required
recommendedboolis on our recommended list
ssh_directboolsupports ssh direct
tagstringimage tag
use_sshboolsupports ssh (direct or proxy)

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)