---
title: "Get highest records"
method: GET
path: "/api/v5/habits/habit-records/all"
tags: ["Habits Record"]
---

# Get highest records

`GET /api/v5/habits/habit-records/all`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/habits/habit-records/all`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pavlok/apis/pavlok-api-v5/docs/api/v5/habits/habit-records/all/get.ts> (a function with typed inputs; its response is checked against the schema)

Get highest records for the user

## Response `200`

Successful Response

- ListOfHabitRecordMaxValueInResponse
  - `habitRecords` HabitRecordMaxValue[], required
    - `userHabitId` integer, required
    - `maxValue` integer
    - `habitName` string, required
    - `habitUnit` string, required
    - `habitIconUrl` string

---

[API](https://skmtc.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
