> Markdown version of https://tuna.am/en/docs/api/monitor-list/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# List monitors

get`/v1/monitors`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Query Parameters

* **page_size** integer\<int64>

* **page** integer\<int64>

* **search** string

  Case-insensitive search by name, address, and host

* **type** string

  **Possible values:** \[`dns`, `heartbeat`, `http`, `icmp`, `job`, `tcp`]

  Type: job, heartbeat, http, tcp, dns, icmp

* **status** string

  Status: new, up, running, down

* **order_by** string

  Sort order: name (default, alphabetical), created_at (newest first), last_event_at (most recent event first), last_fail_at (most recent problem first), last_duration (longest first)

### Response

200application/json

* Array \[
* **avg_duration**number\<double>

  Average check duration in seconds

  **created_at**string\<date-time>

  Creation date

  **event_count**integer\<int64>

  Number of events

  **Example:&#x20;**`42`

  **id**string

  Monitor ID

  **Example:&#x20;**`2cUapHVcvLZQEDXJ8fRgQJ8q5qL`

  **last_duration**number\<double>

  Duration of the last check in seconds

  **last_event_at**string\<date-time>

  Last event date

  **last_fail_at**string\<date-time>

  Last failed check date

  **name**string

  Name

  **Example:&#x20;**`API healthcheck`

  **paused**boolean

  Alerts are paused

  **status**string

  Monitor status

  **Possible values:** \[`new`, `up`, `running`, `down`]

  **Example:&#x20;**`up`

  **type**string

  Monitor type

  **Possible values:** \[`job`, `heartbeat`, `http`, `tcp`, `dns`, `icmp`]

  **Example:&#x20;**`http`

  **updated_at**string\<date-time>

  Update date

  ]
