Title
Create new category
Edit page index title
Edit category
Edit link
Update an Existing Pipeline
Pipelines evolve - requirements change, data sources move, optimizations are needed. This guide shows you how to safely update pipeline configurations, modify job structures, and verify your changes.
Why This Matters
Updating a production pipeline is risky. Done wrong, you can:
Break downstream systems
Lose data
Create silent failures
Disrupt on-call schedules
This workflow minimizes risk by showing you how to update pipelines safely and verify changes before they impact production.
Real-World Scenarios
Scenario 1: New Team Ownership
"Data engineering is splitting into two teams. We need to update pipeline ownership."
Change: Update metadata (owner, team, Slack channel)
Risk: Low
Solution: Simple PUT /pipelines with new metadata
Scenario 2: Add Data Quality Check
"We're getting bad data. Need to add a validation step between Extract and Load."
Change: Insert new job into pipeline
Risk: Medium (changes data flow)
Solution: Create new job, update dependencies, verify graph
Scenario 3: Migrate Data Source
"We're moving from Athena to Snowflake. Update all pipelines."
Change: Update asset_uid in job configurations
Risk: High (wrong UID = data loss)
Solution: Test in staging, verify connections, gradual rollout
Scenario 4: Enable Scheduling
"Manual pipeline is stable. Time to automate with daily schedule."
Change: Update scheduled: true and add cron expression
Risk: Low
Solution: Update pipeline config, monitor first few automated runs
Prerequisites
Pipeline ID or UID to update
New configuration values
Understanding of current pipeline structure
(Recommended) Testing environment
Update Strategies
Use these 3 APIs to modify pipelines:
GET /pipelines/:identity- Get current configPUT /pipelines- Update pipelineGET /pipelines/:pipelineId/graph- Verify changes
Overview
This workflow covers:
Retrieving current pipeline configuration
Updating pipeline metadata and settings
Modifying the pipeline graph structure
Verifying changes were applied
APIs Used: 3 endpoints
Prerequisites
Pipeline ID or UID to update
API credentials
Understanding of desired changes
Step 1: Get Current Pipeline Configuration
Before making changes, retrieve the current configuration.
API Call
Response
Save this configuration - you'll modify and send it back.
Step 2: Modify Pipeline Configuration
Update the pipeline using the same endpoint as creation.
API Call
Update Scenarios
Scenario 1: Enable Scheduling
Changes:
scheduled: false → trueschedule: Added cron expression (2 AM daily)tags: Added "scheduled" tag
Scenario 2: Change Ownership
Changes:
meta.owner: data-team → analytics-teammeta.team: data-engineering → analytics
Scenario 3: Disable Pipeline
Changes:
enabled: true → falsedescription: Added "TEMPORARILY DISABLED" notetags: Added "disabled" tag
Step 3: Update Pipeline Jobs
Modify job structure by creating/updating job nodes.
API Call
Scenario: Add a New Job
Add a data quality validation job between extract and transform.
Scenario: Update Existing Job
Update the transform job to take input from validation instead of extract.
Result: Pipeline flow is now: Extract → Validate → Transform → Load
Step 4: Verify Pipeline Graph
Check that your changes are reflected in the pipeline graph.
API Call
Response
Verification:
New validation job (104) is present
Flow goes: extract → validate → transform → load
All connections are correct
Step 5: Verify Configuration Changes
Retrieve the pipeline again to confirm your updates.
API Call
Response
Verification:
enabled: false (as requested)scheduled: true with cron schedulemeta.ownerandmeta.team: UpdatedupdatedAt: Timestamp reflects recent changetags: Includes all new tags
Common Update Patterns
Pattern 1: Gradual Rollout
Disable production pipeline
Test changes in dev/staging
Re-enable with new configuration
Pattern 2: Add Monitoring
Update pipeline with notification channels
Set baseline metrics
Pattern 3: Modify Data Flow
Get current graph structure
Add/modify jobs
Verify new graph
Update Workflow Summary
Simple Configuration Update (2 API calls)
Complex Structure Update (4 API calls)
Complete API Call Sequence
GET /torch-pipeline/api/pipelines/:identity- Get current configurationPUT /torch-pipeline/api/pipelines- Update pipelinePUT /torch-pipeline/api/pipelines/:pipelineId/jobs- Modify jobs (optional)GET /torch-pipeline/api/pipelines/:pipelineId/graph- Verify structure (optional)
Important Notes
Update vs Create
The PUT /pipelines endpoint does both create and update:
If
uidexists → UpdateIf
uiddoesn't exist → Create
Immutable Fields
These fields cannot be changed after creation:
id(system-assigned)uid(unique identifier)createdAt(creation timestamp)
Versioning
Pipeline updates don't create versions automatically. If you need versioning:
Use different
uidvalues (e.g.,customer-etl-v2)Store version info in
metaobjectTrack changes in your version control system
Troubleshooting
Issue | Solution |
|---|---|
Update not applied | Verify |
Graph not updating | Job changes require new run to take effect |
Schedule not working | Check |
Changes lost | Ensure you're sending complete pipeline object |
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2025