Skip to main content
Display user’s current instances

Usage

vastai show instance [--api-key API_KEY] [--raw]

Arguments

id
integer
required
id of instance to get

Description

Returns an instance object. Key status fields: actual_status — current container state:
ValueMeaning
nullInstance is being provisioned
loadingDocker image is downloading or container is starting up
runningContainer is actively executing. GPU charges apply.
stoppedContainer is halted. Disk charges continue; no GPU charges.
frozenContainer is paused with memory preserved. GPU charges apply.
exitedContainer process exited unexpectedly
rebootingContainer is restarting (transient)
unknownNo recent heartbeat from the host
offlineHost machine disconnected from Vast servers (computed, not stored in DB)
intended_status — user’s desired target state: running, stopped, or frozen. cur_state — machine contract / hardware allocation state: running, stopped, or unloaded (released on destroy). status_msg — human-readable detail on the current status.

Examples

vastai show instance <ID>

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)