---
title: "Get private location health metrics from a window of time."
method: GET
path: "/v1/private-locations/{id}/metrics"
tags: ["Private locations"]
---

# Get private location health metrics from a window of time.

`GET /v1/private-locations/{id}/metrics`

Get private location health metrics from a window of time.
**Rate-limiting is applied to this endpoint, you can send 300 requests per day at most.**

## Path parameters

- `id` string, required

## Query parameters

- `from` string, date, required — Select metrics beginning with this UNIX timestamp. Must be less than 15 days ago.
- `to` string, date, required — Select metrics up to this UNIX timestamp.

## Headers

- `x-checkly-account` string — Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

## Response `200`

Successful

- PrivateLocationsMetricsHistoryResponseSchema
  - `timestamps` string[]
  - `queueSize` number[]
  - `oldestScheduledCheckRun` number[]

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/checklyhq/apis/checkly-public-api.md) · [All operations](https://skmtc.net/checklyhq/apis/checkly-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/checklyhq/checkly-public-api/revisions/87d29dc7b4fe/schema)
