---
title: "Get heartbeat availability"
method: GET
path: "/v1/checks/heartbeats/{checkId}/availability"
tags: ["Heartbeats"]
---

# Get heartbeat availability

`GET /v1/checks/heartbeats/{checkId}/availability`

Get heartbeat availability.

## Path parameters

- `checkId` string, required

## Query parameters

- `startTime` string, date
- `endTime` string, date

## Headers

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

## Response `200`

Successful

- Model159, nullable
  - `successRatio` SuccessRatio
    - `previousPeriod` number
    - `currentPeriod` number
  - `totalEntitiesCurrentPeriod` number

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `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/versions/9e903da4f3da/schema)
