> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai self-test machine

\[Host] Perform a self-test on the specified machine

## Usage

```bash theme={null}
vastai self-test machine <machine_id> [--debugging] [--ignore-requirements] [--test-image IMAGE]
```

## Arguments

<ParamField path="machine_id" type="string" required>
  Machine ID
</ParamField>

## Options

<ParamField path="--debugging" type="boolean">
  Enable debugging output
</ParamField>

<ParamField path="--ignore-requirements" type="boolean">
  Ignore the minimum system requirements and run the self test regardless
</ParamField>

<ParamField path="--test-image" type="string">
  Use a custom self-test image for testing custom self-test images. Overrides VAST\_SELF\_TEST\_IMAGE and CUDA mapping.
</ParamField>

<ParamField path="--support-bundle-dir" type="string">
  Directory for failure diagnostic bundles (default: /tmp)
</ParamField>

<ParamField path="--no-support-bundle" type="boolean">
  Do not create a diagnostic tarball when the self-test fails
</ParamField>

## Description

This command tests if a machine meets specific requirements and
runs a series of tests to ensure it's functioning correctly.

## Examples

```bash theme={null}
vast self-test machine 12345
 vast self-test machine 12345 --debugging
```

## 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`) |
