https://api.planasonix.com
If your workspace uses a versioned base path (for example
/v1), prepend it before /api. See API reference.List streams
Returns all streams (CDC databases, Kafka-style topics, webhook streams) in the workspace.GET /api/streams
Request parameters
string
Filter by lifecycle state:
created, starting, running, paused, stopped, error.string
Filter by source family:
postgres_cdc, mysql_cdc, sqlserver_cdc, kafka, webhook, and so on.string
Filter streams feeding a specific pipeline.
integer
default:"50"
Page size.
string
Pagination cursor.
Example response
Create stream
Registers a new stream from a CDC or event source and binds it to downstream processing.POST /api/streams
Request body
string
required
Unique name within the workspace.
string
required
postgres_cdc, mysql_cdc, sqlserver_cdc, kafka, webhook, or deployment-specific values.string
required
Pipeline that consumes stream output.
string
Source connection ID (required for database CDC and most brokers).
object
Type-specific options: publication/slot for Postgres, topic names, include/exclude tables, starting offsets, webhook signing secret, and so on.
Example response
Streams summary
Returns aggregate counts and high-level health for dashboard use.GET /api/streams/summary
Request parameters
None.Example response
Delete stream
Tears down the stream, releases CDC slots where applicable, and removes workspace metadata.DELETE /api/streams/{id}
Request parameters
string
required
Stream ID.
boolean
default:"false"
When true, best-effort teardown even if the connector reports active consumers (use with care).
Example response
Start streaming
Allocates workers and begins reading from the source (or resumes from last committed offset).POST /api/streams/{id}/start
Request parameters
string
required
Stream ID.
Example response
Stop streaming
Stops ingestion and commits offsets where the engine supports graceful shutdown.POST /api/streams/{id}/stop
Request parameters
string
required
Stream ID.
Example response
Pause streaming
Temporarily halts reading while keeping slot or subscription state for quick resume.POST /api/streams/{id}/pause
Request parameters
string
required
Stream ID.
Example response
Resume streaming
Resumes a paused stream.POST /api/streams/{id}/resume
Request parameters
string
required
Stream ID.
Example response
Stream metrics
Returns throughput, consumer lag, and error counters for observability.GET /api/streams/{id}/metrics
Request parameters
string
required
Stream ID.
string
default:"5m"
Rolling window for rates:
1m, 5m, 1h, 24h.