First Pipeline
A walkthrough of a real spec, then building and running one of your own.
The spec, piece by piece
This is the sample pipeline from the Quick Start - every pipeline is built from these same blocks.
Sources
Code
Each asset becomes a DataFrame you reference as sources.<source>.<asset> - here sources.orders.orders.
Instead of inlining credentials, you can reference a saved connection with settings.connection_name - see Connections.
Builds
Builds shape data without changing rows - pick columns, join frames, or run SQL over FQNs. Here we just pass the frame through:
Code
Transforms
Transforms change rows. A transform has either a list of steps or a SQL query - this one casts types, derives a column, and renames another:
Code
Available step types: filter, select, rename, cast, derive, aggregate, add_timestamp, forward_fill, gap_fill.
Destinations
Destinations define where results land, one output per target:
Code
Execution settings (optional)
Per-run Spark resources - memory, cores, executors, timeout, retries, priority:
Code
Build your own
You have a CSV file with orders and want a filtered, enriched copy as Parquet.
1. Upload the input
Code
The file lands under the inputs dir as my-data/my_orders.csv.
2. Write the spec
my_first_pipeline.yaml
3. Validate before saving
Code
4. Create and run it
Create the pipeline (reusable, schedulable), then trigger a run:
Code
For one-shot runs, POST /api/pipelines/save-and-exec does both in a single call.
5. Monitor the run
Code
6. Check the output
Code
In shared mode the files are also on disk at data/outputs/gold/my_first_pipeline/orders/.
7. Schedule it (optional)
Add a scheduler block to the spec - it is picked up automatically on create/update:
Code
Each pipeline has one schedule. Enable or disable it without losing offsets:
Code
8. Update it later
Send the updated YAML to PUT /api/pipelines/{pipelineId}. The spec is re-validated and written to storage, and the pipeline points at the new one. Every run keeps the exact spec it executed - fetch it with GET /api/pipelines/{pipelineId}/runs/{runId}/spec.
Common first-run problems
| Problem | Fix |
|---|---|
validate-spec returns schema errors | The response lists every violation - fix the YAML fields it names |
401 / 403 on API calls | Missing or invalid token, or the user lacks the required permission - see Auth Troubleshooting |
Pipeline with name '...' already exists | Names are unique - use PUT to update, or pick a new name |
Unsupported source type: ... | Only the six source types are supported - see Sources |
Run ends FAILED | Check GET .../runs/{runId}/logs?stream=stderr - the error names the failing stage |
Run ends CANCELLED | Someone (or you) called the kill endpoint - check the run history |
| No output files | Check the stages endpoint - if sources read 0 rows with no schema, declare schema: on the asset |
Next steps
- Pipeline Spec Overview - all source, transform, and destination options
- Execution Lifecycle - statuses, stages, retries
- API Reference - every endpoint used above