Stateless Sync API

Set up destination schema

Creates destination tables and applies migrations. Streams NDJSON messages (control, log, trace) tagged with _emitted_by. Pass ?only=destination to run destination setup alone (e.g. optimistic table creation) or ?only=source to isolate the source.

post/pipeline_setup

Query parameters

only'source' | 'destination'

Run only the source or destination side. Useful for optimistic destination setup (e.g. creating tables early in a UI) or isolating a connector when debugging.

Example:destination

Run only the source or destination side. Useful for optimistic destination setup (e.g. creating tables early in a UI) or isolating a connector when debugging.

Headers

JSON-encoded PipelineConfig

Response

NDJSON stream of setup messages

Changes