---
title: "Get a list of events for a heartbeat"
method: GET
path: "/v1/checks/heartbeats/{checkId}/events"
tags: ["Heartbeats"]
---

# Get a list of events for a heartbeat

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

Get all events from a heartbeat.

## Path parameters

- `checkId` string, required

## Query parameters

- `startTime` string, date
- `endTime` string, date
- `limit` number

## Headers

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

## Response `200`

Successful

- HeartbeatsV1EventsForCheck[]
  - `events` HeartbeatsV1Event[]
    - `id` string, uuid, required
    - `state` 'FAILING' | 'EARLY' | 'RECEIVED' | 'GRACE' | 'LATE' — Describe the event state, if the ping was received or not.
    - `timestamp` string, date — UTC timestamp on which we received the event.
    - `source` string, nullable — Source which triggered the event.
    - `userAgent` string, nullable — User agent from the ping.
  - `stats` HeartbeatsV1EventStats
    - `last24Hours` HeartbeatsV1AvailabilityResponse, nullable
      - `successRatio` HeartbeatsV1AvailabilitySuccessRatio
        - `previousPeriod` number
        - `currentPeriod` number
      - `totalEntitiesCurrentPeriod` number
    - `last7Days` 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

---

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