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

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

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

* **buckets** object\[]

  Hourly intervals with metrics

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

  Average check duration in milliseconds

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

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

  Start of the hourly interval

  **type_counts** object

  Number of events by type

  **property name\***&#x69;nteger\<int64>

  ]
