---
title: "Export a document's ledger chain."
method: GET
path: "/api/ledger/{documentId}/export"
tags: ["Redaction Ledger"]
---

# Export a document's ledger chain.

`GET /api/ledger/{documentId}/export`

Returns the full ledger chain for a document as a portable JSON document that can be archived and later re-verified. The export contains the decrypted token and replacement values, so treat it as sensitive.

## Path parameters

- `documentId` string, required

## Query parameters

- `owner` string

## Headers

- `Authorization` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `413` — Content Too Large
- `500` — Internal Server Error
- `503` — Service Unavailable

## Changes

- **2026-08-03** `e46672d44401` — 1 info
  - added the non-success response with the status `413`

[Change history](https://skmtc.dev/philterd/apis/philter-api/changes/api/ledger/:documentId/export/get.md)

---

[API](https://skmtc.dev/philterd/apis/philter-api.md) · [All operations](https://skmtc.dev/philterd/apis/philter-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/philterd/philter-api/revisions/755bc1bbdc38/schema)
