Skip to main content
Pipelines are directed graphs of nodes (sources, transforms, destinations) and edges (data flow). Use the API to version graphs, run executions, inspect lineage, and manage trash. Base URL: https://api.planasonix.com
Auth: Authorization: Bearer plus your API key or JWT.

CRUD and lifecycle

GET /api/pipelines

List pipelines.
projectId
string
Restrict to a project.
folderId
string
Restrict to a folder.
Match on pipeline name.
status
string
Filter by lifecycle status (draft, active, archived, and so on).

POST /api/pipelines

Create a pipeline with an initial graph.
name
string
required
Pipeline name.
projectId
string
required
Owning project.
folderId
string
Folder within the project.
nodes
array
required
Node definitions (id, type, config, positions, and so on).
edges
array
required
Edge list (source, target, optional port keys).

GET /api/pipelines/{id}

Fetch the full graph and configuration.
id
string
required
Pipeline ID.

PUT /api/pipelines/{id}

Replace or update the pipeline graph (nodes and edges).
id
string
required
Pipeline ID.
nodes
array
Full node list when replacing the graph.
edges
array
Full edge list when replacing the graph.

DELETE /api/pipelines/{id}

Soft-delete the pipeline (moves to trash).
id
string
required
Pipeline ID.

Runs and execution

POST /api/pipelines/{id}/run

Start a new run (full graph or parameterized subset, depending on body).
id
string
required
Pipeline ID.
variables
object
Runtime variable overrides.
environmentId
string
Execution environment (warehouse size, queue, and so on).

GET /api/pipelines/{id}/runs

Paginated run history for this pipeline.
id
string
required
Pipeline ID.
limit
integer
Page size.
cursor
string
Pagination cursor from meta.

GET /api/pipelines/{id}/execution-status

Current state of an in-flight or last completed execution.
id
string
required
Pipeline ID.

GET /api/pipelines/{id}/execution-plan

Logical execution plan (order, splits, pushes) for the current graph.
id
string
required
Pipeline ID.

GET /api/pipelines/{id}/lineage

Dataset-level lineage graph for the pipeline.
id
string
required
Pipeline ID.

GET /api/pipelines/{id}/column-lineage

Column-level lineage derived from the graph.
id
string
required
Pipeline ID.
nodeId
string
Focus on outputs of a specific node.

GET /api/pipelines/{id}/query-plan

Engine query plan for SQL-heavy nodes (when supported by the backing system).
id
string
required
Pipeline ID.
nodeId
string
required
Node to explain.

POST /api/pipelines/preview

Dry-run style preview without persisting outputs (limits and sandbox rules apply).
nodes
array
required
Graph fragment or full graph to preview.
edges
array
required
Edges for the preview graph.
connectionOverrides
object
Optional connection IDs for preview-only execution.

POST /api/pipelines/optimize

Return suggestions to improve cost, parallelism, or pushdown.
pipelineId
string
Existing pipeline to analyze.
nodes
array
Inline graph when not referencing a saved pipeline.
edges
array
Inline edges when not referencing a saved pipeline.

Metadata operations

POST /api/pipelines/{id}/clone

Duplicate the pipeline (optionally to another folder or project via body fields).
id
string
required
Source pipeline ID.
name
string
Name for the clone.
projectId
string
Target project.
folderId
string
Target folder.

PATCH /api/pipelines/{id}/rename

Rename only.
id
string
required
Pipeline ID.
name
string
required
New name.

PATCH /api/pipelines/{id}/move

Change folder (and optionally project if permitted).
id
string
required
Pipeline ID.
folderId
string
required
Destination folder ID.
projectId
string
Destination project when cross-project moves are allowed.

PATCH /api/pipelines/{id}/status

Update lifecycle status.
id
string
required
Pipeline ID.
status
string
required
Target status value.

Trash

GET /api/pipelines/deleted

List soft-deleted pipelines.
projectId
string
Filter by project.

POST /api/pipelines/{id}/restore

Restore from trash.
id
string
required
Pipeline ID.

DELETE /api/pipelines/{id}/permanent

Permanently delete a pipeline already in trash.
id
string
required
Pipeline ID.
This cannot be undone. Dependent schedules and history policies may still retain run metadata according to your retention settings.

Node preview and cache

POST /api/pipelines/{id}/nodes/{nodeId}/preview

Sample output for a single node using the saved graph context.
id
string
required
Pipeline ID.
nodeId
string
required
Node ID within the graph.
limit
integer
Max sample rows.

POST /api/pipelines/{id}/nodes/{nodeId}/cache

Warm or invalidate cached intermediate results for a node (behavior is connector-dependent).
id
string
required
Pipeline ID.
nodeId
string
required
Node ID.
action
string
For example warm or invalidate.

Runs API

Poll and inspect individual runs.

Canvas

How graphs map to the visual editor.