---
title: "Get latest heartbeat"
method: GET
path: "/api/v1/authenticated/heartbeats/latest"
tags: ["Authenticated"]
---

# Get latest heartbeat

`GET /api/v1/authenticated/heartbeats/latest`

Returns the absolutely latest heartbeat processed for the user.

## Response `200`

successful

- object
  - `id` integer
  - `created_at` string, date_time
  - `time` number
  - `category` string
  - `project` string
  - `language` string
  - `editor` string
  - `operating_system` string
  - `machine` string
  - `entity` string

## Other responses

- `401` — unauthorized

## Changes

- **2026-01-27** (v1) `b6d6849481da` — 1 breaking, 15 info
  - the response's body type changed from no type to `object` for status `200`
  - the endpoint scheme security `Bearer AND ApiKeyAuth` was added to the API
  - the endpoint scheme security `Bearer` was removed from the API
  - api tag `Authenticated` added
  - …12 more

[Change history](https://skmtc.dev/hackclub/apis/hackatime-api/changes/api/v1/authenticated/heartbeats/latest/get.md)

---

[API](https://skmtc.dev/hackclub/apis/hackatime-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-api/revisions/b6d6849481da/schema)
