---
title: "Get note version history"
method: GET
path: "/notes/{id}/history"
tags: ["Notes"]
---

# Get note version history

`GET /notes/{id}/history`

## Request

- Base URL: `https://api.caliuapp.com`
- URL: `https://api.caliuapp.com/notes/{id}/history`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `caliu_session`

Return past snapshots of a note projected from the sync log, ordered newest first. Updates within a 5-minute compaction window collapse into one entry. `delete` (hard-delete) operations are excluded — they have no body. Use `cursor` (the `nextCursor` from the previous response) and `limit` (default 50, max 100) to paginate.

## Path parameters

- `id` string, required: Resource ID

## Query parameters

- `cursor` string: Sync log version of the last entry from the previous page. Pass `nextCursor` from the prior response.
- `limit` string: Max entries to return (1-100, default 50).

## Response `200`

Page of past versions

- object
  - `versions` object[], required
    - `version` number, required
    - `operation` 'create' | 'update' | 'soft-delete' | 'restore', required
    - `createdAt` string, required
    - `title` string, required
    - `content` string, required
    - `isEncrypted` boolean, required
    - `encryptionHint` string, nullable, required
    - `editedBy` object: Who made this version, on a shared note
      - `userId` string, required
      - `name` string, nullable, required
  - `nextCursor` integer, nullable, required

## Other responses

- `402`: Version history requires Caliu Pro
- `404`: Note not found

---

[API](https://skmtc.dev/caliuapp/apis/caliu-api.md) · [All operations](https://skmtc.dev/caliuapp/apis/caliu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/caliuapp/apis/caliu-api/revisions/1ba4d3f687fe?raw)
