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

Get machine earning history reports

## Usage

```bash theme={null}
vastai show earnings [OPTIONS]
```

## Options

<ParamField path="--quiet" type="boolean">
  only display numeric ids
</ParamField>

<ParamField path="--start_date" type="string">
  start date and time for report. Many formats accepted
</ParamField>

<ParamField path="--end_date" type="string">
  end date and time for report. Many formats accepted
</ParamField>

<ParamField path="--machine_id" type="integer">
  Machine id (optional)
</ParamField>

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