---
title: "Read records from source"
method: POST
path: "/pipeline_read"
tags: ["Stateless Sync API"]
---

# Read records from source

`POST /pipeline_read`

Streams NDJSON messages (records, state, catalog). Optional NDJSON body provides live events as input.

## Query parameters

- `state_limit` integer — Stop streaming after N state messages.
- `time_limit` number — Stop streaming after N seconds.

## Response `200`

NDJSON stream of sync messages

## Other responses

- `400` — Invalid params

## Changes

- **2026-04-14** `fe381b9ff4bd` — 1 warning
  - removed the optional property `oneOf[#/components/schemas/ControlMessage]/control/oneOf[subschema #1]/source_config/backfill_concurrency` from the response with the `200` status
- **2026-04-14** `d3793a0f62fc` — 1 warning
  - removed the optional property `oneOf[#/components/schemas/EofMessage]/eof/record_count` from the response with the `200` status
- **2026-04-14** `678ceced690e` — 1 info
  - added the optional property `oneOf[#/components/schemas/EofMessage]/eof/state` to the response with the `200` status
- **2026-04-14** `94093fe7df85` — 1 breaking, 1 warning, 4 info
  - added `subschema #2, subschema #4` to the `oneOf[#/components/schemas/TraceMessage]/trace` response property `oneOf` list for the response status `200`
  - deleted the `header` request parameter `x-source-state`
  - added the new optional `header` request parameter `x-state`
  - added the optional property `oneOf[#/components/schemas/EofMessage]/eof/global_progress` to the response with the `200` status
  - …2 more
- **2026-04-14** `c2c853a0769d` — 1 warning, 2 info
  - added the new `aborted` enum value to the `oneOf[#/components/schemas/EofMessage]/eof/reason` response property for the response status `200`
  - added the optional property `oneOf[#/components/schemas/EofMessage]/eof/cutoff` to the response with the `200` status
  - added the optional property `oneOf[#/components/schemas/EofMessage]/eof/elapsed_ms` to the response with the `200` status

[Full history](https://skmtc.dev/stripe/apis/stripe-sync-engine/changes/pipeline_read/post.md)

---

[API](https://skmtc.dev/stripe/apis/stripe-sync-engine.md) · [All operations](https://skmtc.dev/stripe/apis/stripe-sync-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stripe/stripe-sync-engine/revisions/fe381b9ff4bd/schema)
