Skip to main content
Perform a self-test on the specified machine.
This is a host method, used for managing machines you are renting out on Vast.ai.

Signature

Parameters

machine_id
str
required
ID of the machine to self-test.
debugging
bool
default:"False"
Enable debug output during the test.
explain
bool
default:"False"
Print verbose explanations of API calls made.
raw
bool
default:"False"
Return raw JSON responses.
url
str
default:"\"https://console.vast.ai\""
API server URL.
retry
int
default:"3"
Number of retry attempts for failed API requests.
ignore_requirements
bool
default:"False"
Skip requirement checks during the test.

Returns

str, Result from the API call.

Example