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

Perform a self-test on the specified machine.

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

## Signature

```python theme={null}
VastAI.self_test_machine(
    machine_id: str,
    debugging: bool = False,
    explain: bool = False,
    raw: bool = False,
    url: str = "https://console.vast.ai",
    retry: int = 3,
    ignore_requirements: bool = False
) -> str
```

## Parameters

<ParamField path="machine_id" type="str" required>
  ID of the machine to self-test.
</ParamField>

<ParamField path="debugging" type="bool" default="False">
  Enable debug output during the test.
</ParamField>

<ParamField path="explain" type="bool" default="False">
  Print verbose explanations of API calls made.
</ParamField>

<ParamField path="raw" type="bool" default="False">
  Return raw JSON responses.
</ParamField>

<ParamField path="url" type="str" default="&#x22;https://console.vast.ai&#x22;">
  API server URL.
</ParamField>

<ParamField path="retry" type="int" default="3">
  Number of retry attempts for failed API requests.
</ParamField>

<ParamField path="ignore_requirements" type="bool" default="False">
  Skip requirement checks during the test.
</ParamField>

## Returns

`str`, Result from the API call.

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.self_test_machine(machine_id="...")
print(result)
```
