---
title: "Get pipeline state"
method: GET
path: "/v2/{ledger}/pipelines/{pipelineID}"
tags: ["ledger.v2"]
---

# Get pipeline state

`GET /v2/{ledger}/pipelines/{pipelineID}`

## Response `200`

Pipeline information

- object
  - `data` V2Pipeline, required
    - `ledger` string, required — Name of the ledger the pipeline reads from
    - `exporterID` string, required — Identifier of the exporter the pipeline feeds
    - `id` string, required
    - `createdAt` string, date-time, required
    - `lastLogID` integer
    - `enabled` boolean

## 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-07-18** `bb7a9c0b2a63` — 1 info
  - endpoint added

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