Workflows
List workflows
Returns the project's workflow definitions with their identifiers, which the run endpoints take. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.
Upload a workflow definition
Registers a workflow from a definition file sent with the request, for definitions that do not live in a connected source repository. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it.
Read a workflow definition
Returns the workflow's name, where its definition was imported from, and the inputs a run may be started with, each with its description, whether it is required and its default.
Replace a workflow definition
Replaces the registered definition with one sent in the request. Runs already under way keep the definition they started with. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it, and the registered version is kept.
Delete a workflow
Removes the workflow from the project along with its definition, its runs and their logs. A workflow with a run that has not finished cannot be deleted; wait for the run to finish, or cancel it.
Import a workflow from a connected source
Reads a workflow definition from a repository on a connected source provider and registers it in the project. The path names the definition file, and the reference selects a branch, tag or commit; without one the repository's default branch is read. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it.
Re-import a workflow from its source
Reads the workflow's definition again from the source it was imported from and replaces the registered version. Runs already under way keep the definition they started with. A definition naming a compute type the platform does not offer, as its default or on any task, is refused with an error naming it, and the registered version is kept.