---
title: "Get the mapping of a ledger"
method: GET
path: "/{ledger}/mapping"
tags: ["ledger.v1"]
---

# Get the mapping of a ledger

`GET /{ledger}/mapping`

## Path parameters

- `ledger` string, required

## Response `200`

OK

- MappingResponse
  - `data` Mapping, nullable
    - `contracts` Contract[], required
      - `account` string
      - `expr` object, required

## Other responses

- `default` — Error

---

[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)
