Manage a pipeline
A pipeline can be in one of the following states after you run it:
- Created: the pipeline has just been deployed.
- Running: the pipeline is actively processing data.
- Completed: there is no more data to process.
- Failed: an error occurred.
- Paused: the user interrupted execution, keeping in-memory state.
- Stopped: the user interrupted execution, resetting all in-memory state.
The app or API allow you to manage the pipeline lifecycles.
Change the state of a pipeline
In the app, an icon visualizes the current pipeline state. Change a state as follows:
- Click the checkbox on the left next to the pipeline, or the checkbox in the column header to select all pipelines.
- Click the button corresponding to the desired action, i.e., Start, Pause, Stop, or Delete.
- Confirm your selection.
For the API, use the following endpoints based on the desired actions:
- Start, pause, and stop:
/pipeline/update
- Delete:
/pipeline/delete
Understand pipeline state transitions
The diagram below illustrates the various states, where circles correspond to states and arrows to state transitions:
The grey buttons indicate the actions you, as a user, can take to transition into a different state. The orange arrows are transitions that take place automatically based on system events.