---
title: "Your entries, the chain skeleton, and the signed head"
method: GET
path: "/api/v1/ledger/export"
tags: ["Ledger"]
---

# Your entries, the chain skeleton, and the signed head

`GET /api/v1/ledger/export`

## Request

- Base URL: `https://api.riskrouter.eu`
- URL: `https://api.riskrouter.eu/api/v1/ledger/export`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-RiskRouter-Key`

Everything needed to verify offline, forever: your own entries in full, (chain_index, row_hash, prev_hash) for every entry in the ledger, and the signed attestation. Check it at https://riskrouter.eu/verify#check or with the offline verifier.

## Response `200`

The export.

- LedgerExport
  - `format` 'riskrouter-ledger-export|v1'
  - `attestation` Attestation (unresolved $ref)
  - `signature` Signature (unresolved $ref)
  - `counts` object
    - `chain` integer
    - `yours` integer
  - `skeleton` object[]
    - `chain_index` integer
    - `row_hash` string
    - `prev_hash` string
  - `entries` object[]

## Other responses

- `401`: Every error carries the same envelope with a stable code.
- `413`: Every error carries the same envelope with a stable code.
- `429`: Every error carries the same envelope with a stable code.
- `503`: Every error carries the same envelope with a stable code.

---

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