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

# Alerts

> Every alerts command in the Flexprice CLI, with flags, required fields and examples.

## list

Query alert logs

| Flag             | Type    | Required |
| ---------------- | ------- | -------- |
| `--alert_status` | string  |          |
| `--alert_type`   | string  |          |
| `--customer_id`  | string  |          |
| `--end_time`     | string  |          |
| `--entity_id`    | string  |          |
| `--entity_type`  | string  |          |
| `--expand`       | string  |          |
| `--limit`        | integer |          |
| `--offset`       | integer |          |
| `--order`        | string  |          |
| `--start_time`   | string  |          |
| `--status`       | string  |          |

<Note>
  These fields are nested and cannot be set with flags. Use `--edit` to fill in a pre-built request body, or `--data @file.json`.

  * `filters` (array)
  * `sort` (array)
</Note>

```sh theme={null}
flexprice alerts list
```
