---
title: "Consecutive-day writing streak for the diary"
method: GET
path: "/diaries/{diaryId}/streak"
tags: ["Diary features"]
---

# Consecutive-day writing streak for the diary

`GET /diaries/{diaryId}/streak`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/diaries/{diaryId}/streak`
- Auth: HTTP bearer

## Path parameters

- `diaryId` string, uuid, required

## Response `200`

OK

- object
  - `data` DiaryStreak, required
    - `currentDays` integer, required
    - `longestDays` integer, required
    - `totalEntries` integer, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: No such diary, or not visible to the caller

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
