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

- HeartbeatsV1AvailabilityResponse, nullable
  - `successRatio` HeartbeatsV1AvailabilitySuccessRatio
    - `previousPeriod` number
    - `currentPeriod` number
  - `totalEntitiesCurrentPeriod` number

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests

## Changes

- **2026-08-12** `87d29dc7b4fe` — 2 breaking, 1 info
  - for the `query` request parameter `endTime`, default value `2026-08-03T03:10:37.187Z` was removed
  - for the `query` request parameter `startTime`, default value `2026-08-02T03:10:37.187Z` was removed
  - added the non-success response with the status `400`
- **2026-08-05** `9e903da4f3da` — 2 breaking
  - for the `query` request parameter `endTime`, default value was changed from `2026-07-13T03:11:26.005Z` to `2026-08-03T03:10:37.187Z`
  - for the `query` request parameter `startTime`, default value was changed from `2026-07-12T03:11:26.004Z` to `2026-08-02T03:10:37.187Z`

[Change history](https://skmtc.dev/checklyhq/apis/checkly-public-api/changes/v1/checks/heartbeats/:checkId/availability/get.md)

---

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