Snapshots
Trigger pipelines from the dashboard, SDK, CLI, or REST API.
A Pipeline Snapshot is an immutable snapshot of your pipeline that includes the pipeline DAG, code, configuration, and container images. Snapshots enable you to trigger pipeline runs without direct access to the codebase—from the ZenML Pro dashboard, Python SDK, CLI, or REST API.
Running snapshots is a ZenML Pro feature. For comprehensive documentation including advanced usage patterns, see the main Snapshots documentation.
Why Use Snapshots?
Snapshots solve common production challenges:
Data Scientists can experiment with different parameters without modifying code
MLOps Engineers can schedule retraining or integrate with CI/CD systems
Stakeholders can trigger model training through the dashboard
External Systems can invoke pipelines via REST API calls
Requirements
Snapshots require a remote stack with at least:
Remote orchestrator
Remote artifact store
Container registry
Local stacks cannot run snapshots.
Creating Snapshots
From the CLI
You can also specify a configuration file and stack:
From Python SDK
From the Dashboard
Navigate to a pipeline run
Click
...in the top right cornerSelect
+ New SnapshotEnter a name and click
Create
Running Snapshots
From the CLI
From Python SDK
From the Dashboard
Click
Run a Pipelineon the Pipelines page, or navigate to a snapshot and clickRun SnapshotModify configuration using the built-in editor or upload a YAML file
Click
Run
From REST API
Deleting Snapshots
Or via Python:
Important Notes
After upgrading your ZenML server, you need to recreate your snapshots. Snapshots are tied to specific server versions and may not work correctly after an upgrade.
Related Documentation
Snapshots - Full Documentation - Complete reference with advanced usage
Trigger Pipelines from External Systems - Tutorial for CI/CD integration
Workspace Server Configuration - Configure the workload manager that powers snapshots
Service Accounts - Set up API authentication for automated triggers
Last updated
Was this helpful?