---
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 — Runtime information about a ledger, including the state of its storage migrations
    - `name` string — Name of the ledger
    - `storage` object — Storage backend information, including the migrations applied to the ledger's bucket
      - `migrations` V2MigrationInfo[]
        - `version` string — Sequence number of the migration
        - `name` string — Name of the migration
        - `date` string, date-time — When the migration was applied
        - `state` 'TO DO' | 'DONE' | 'PROGRESS' — Current state of the migration

## Other responses

- `default` — Error

## Changes

> 52 revisions in range; 44 could not be searched.

- **2024-10-23** `6852f8d14bfc` — 1 breaking
  - the `data/storage/migrations/items/version` response's property type/format changed from `integer`/`int64` to `string`/`` 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/fe945da1b75d/schema)
