> Markdown version of https://tuna.am/en/docs/api/monitor-aggregates/. 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.

# Get aggregated monitor statistics

get`/v1/monitors/{monitor_id}/aggregates`

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

### Path Parameters

* **monitor_id** stringrequired

  Monitor ID

### Response

200application/json

* **alert_count**integer\<int64>

  Number of alerts sent

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

  **avg_duration**number\<double>

  Average check duration in seconds

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

  **complete_count**integer\<int64>

  Number of successful checks

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

  **event_count**integer\<int64>

  Total number of events

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

  **fail_count**integer\<int64>

  Number of failed checks

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