---
title: "Get inclusion proof"
method: GET
path: "/checkpoints/{checkpoint_id}/inclusion-proof"
tags: ["Verification"]
---

# Get inclusion proof

`GET /checkpoints/{checkpoint_id}/inclusion-proof`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/checkpoints/{checkpoint_id}/inclusion-proof`
- Auth: none required

Generate and return a Merkle inclusion proof for a checkpoint. The proof contains O(log N) sibling hashes sufficient to recompute the Merkle root, proving the checkpoint is included in the agent's complete checkpoint history. Public endpoint, no authentication required.

## Path parameters

- `checkpoint_id` string, required

## Response `200`

Merkle inclusion proof

- InclusionProofResponse: Merkle inclusion proof for a checkpoint
  - `checkpoint_id` string, required: The checkpoint ID
  - `leaf_hash` string, required: SHA-256 leaf hash of this checkpoint
  - `leaf_index` integer, required: Index of this leaf in the tree
  - `siblings` object[], required: O(log N) sibling hashes for proof verification
    - `hash` string, required: Hex-encoded sibling hash
    - `position` 'left' | 'right', required: Position of sibling relative to the path node
  - `root` string, required: Current Merkle root (hex-encoded)
  - `tree_size` integer, required: Total number of leaves in the tree
  - `verified` boolean, required: Whether the proof was verified against the stored root

## Other responses

- `404`: Resource not found
- `422`: Request was well-formed but semantically invalid (e.g., business-rule validation failure, malformed YAML inside a JSON payload).
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.
- `503`: An upstream dependency is currently unavailable. The request was not processed; retry after the cooldown window.

---

[API](https://skmtc.dev/mnemom/apis/mnemom-api.md) · [All operations](https://skmtc.dev/mnemom/apis/mnemom-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mnemom/apis/mnemom-api/revisions/274b7a6ea182?raw)
