---
title: "List all schemas for a ledger"
method: GET
path: "/v2/{ledger}/schemas"
tags: ["ledger.v2"]
---

# List all schemas for a ledger

`GET /v2/{ledger}/schemas`

## Query parameters

- `cursor` string
- `pageSize` integer
- `sort` 'created_at'
- `order` 'asc' | 'desc'

## Response `200`

Schemas retrieved successfully

- V2SchemasCursorResponse
  - `cursor` V2SchemasCursor, required
    - `data` V2Schema[], required
      - `version` string, required — Schema version
      - `createdAt` string, date-time, required — Schema creation timestamp
      - `chart` V2ChartOfAccounts, required — Chart of account
      - `transactions` V2TransactionTemplates — Transaction templates
      - `queries` V2QueryTemplates — Query templates
    - `hasMore` boolean, required
    - `previous` string
    - `next` string
    - `pageSize` integer, required

## Other responses

- `default` — Error

## Changes

- **2026-03-25** `3ef3cb98f97a` — 1 breaking
  - the `cursor/data/items/allOf[#/components/schemas/V2SchemaData]/queries/additionalProperties/params/sort` response's property type changed from no type to `string` for status `200`
- **2026-02-23** `0f0824721b6e` — 1 breaking
  - the response property `cursor/data/items/allOf[#/components/schemas/V2SchemaData]/transactions` became optional for the status `200`
- **2026-02-20** `c0620f81a649` — 1 info
  - added the optional property `cursor/data/items/allOf[#/components/schemas/V2SchemaData]/queries` to the response with the `200` status
- **2026-02-19** `58667a80ce17` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/formancehq/apis/ledger-api/changes/v2/:ledger/schemas/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.dev/formancehq/apis/ledger-api/revisions/3ef3cb98f97a?raw)
