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

# Get information about a ledger

`GET /v2/{ledger}/_info`

## Path parameters

- `ledger` string, required

## Response `200`

OK

- V2LedgerInfoResponse
  - `data` V2LedgerInfo
    - `name` string
    - `storage` object
      - `migrations` V2MigrationInfo[]
        - `version` string
        - `name` string
        - `date` string, date-time
        - `state` 'TO DO' | 'DONE'

## Other responses

- `default` — Error

## Changes

- **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`
- **2024-12-05** `d93e4ae21e38` — 1 warning
  - added the new `BUCKET_OUTDATED` enum value to the `errorCode` response property for the response status `default`
- **2024-10-25** `dcde15f756b5` — 1 breaking, 1 warning
  - the `data/storage/migrations/items/version` response's property type changed from `integer` to `string`, and format from `int64` to no format for status `200`
  - added the new `LEDGER_ALREADY_EXISTS` enum value to the `errorCode` response property for the response status `default`
- **2024-10-23** `d7d513582208` — 1 breaking
  - the `data/storage/migrations/items/version` response's property type changed from `string` to `integer`, and format from no format to `int64` for status `200`
- **2024-10-23** `6852f8d14bfc` — 1 breaking
  - the `data/storage/migrations/items/version` response's property type changed from `integer` to `string`, and format from `int64` to no format for status `200`

[Change history](https://skmtc.dev/formancehq/apis/ledger-api/changes/v2/:ledger/_info/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/7ee573f0087f/schema)
