API Reference

Base URL: https://api.northwind.example/v2. Authenticate with a bearer token in the Authorization header.

GET /v2/workspaces

List workspaces visible to the caller.

POST /v2/sources

Create a source. Body: {"type": "postgres", "name": "orders-db"}

POST /v2/syncs/{id}/run

Trigger a sync run. Returns a run id.

GET /v2/syncs/{id}/runs

List run history with status and row counts.

DELETE /v2/sources/{id}

Delete a source and its checkpoints.