---
title: "Get a ledger"
method: GET
path: "/v2/{ledger}"
tags: ["ledger.v2"]
---

# Get a ledger

`GET /v2/{ledger}`

## Response `200`

OK

- V2GetLedgerResponse
  - `data` V2Ledger, required
    - `name` string, required
    - `addedAt` string, date-time, required
    - `bucket` string, required
    - `deletedAt` string, date-time, nullable
    - `metadata` V2Metadata
    - `features` object
    - `id` integer

## Other responses

- `default` — Error

## Changes

- **2025-12-12** `2945092328b9` — 2 warning
  - added the new `SCHEMA_ALREADY_EXISTS` enum value to the `errorCode` response property for the response status `default`
  - added the new `SCHEMA_NOT_SPECIFIED` enum value to the `errorCode` response property for the response status `default`
- **2025-11-18** `2b3c4224170c` — 1 info
  - added the optional property `data/deletedAt` to the response with the `200` status
- **2025-03-05** `25f151055e01` — 1 breaking
  - the response property `data/id` became optional for the status `200`
- **2025-02-27** `2c08ded0f687` — 2 info
  - added the optional property `data/features` to the response with the `200` status
  - added the required property `data/id` to the response with the `200` status
- **2024-12-09** `7ee573f0087f` — 1 warning, 1 info
  - added the new `OUTDATED_SCHEMA` enum value to the `errorCode` response property for the response status `default`
  - removed the `BUCKET_OUTDATED` enum value from the `errorCode` response property for the response status `default`

[Full history](https://skmtc.dev/formancehq/apis/ledger-api/changes/v2/:ledger/get.md)

---

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