---
title: "List entries in a diary (Free plan: last 30 days only, issue #84)"
method: GET
path: "/entries"
tags: ["Entries"]
---

# List entries in a diary (Free plan: last 30 days only, issue #84)

`GET /entries`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries`
- Auth: HTTP bearer

## Query parameters

- `diaryId` string, uuid, required
- `limit` string
- `cursor` string
- `from` string: Only entries occurring at or after this point. An ISO instant, or a plain `YYYY-MM-DD`, which means the start of that day in UTC.
- `to` string: Only entries occurring at or before this point. A plain `YYYY-MM-DD` means the END of that day in UTC, so `from=to=` a single date returns that whole day -- which is the case a caller looking for one day's page actually has (#1431).

## Response `200`

OK

- object
  - `data` EntryListItem[], required
    - `id` string, uuid, required
    - `diaryId` string, uuid, required
    - `createdBy` string, uuid, required
    - `occurredAt` string, date-time, required
    - `headCommitId` string, uuid, nullable, required
    - `isLocked` boolean, required
    - `unlockAt` string, date-time, nullable, required
    - `preview` string, nullable, required
    - `title` string, nullable, required
    - `location` string, nullable, required
    - `tags` string[], required
    - `coverUrl` string, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

---

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