> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai self-test machine

> Host command

Perform a self-test on the specified machine

<Note>This is a **host** command, used for managing machines you are renting out on Vast.ai.</Note>

## Usage

```bash theme={null}
vastai self-test machine <machine_id> [--debugging] [--explain] [--api_key API_KEY] [--url URL] [--retry RETRY] [--raw] [--ignore-requirements]
```

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

## 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
 vast self-test machine 12345 --explain
 vast self-test machine 12345 --api_key <YOUR_API_KEY>
```

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