Skip to main content

prefect automation

Manage automations.

prefect automation ls

List all automations.

prefect automation inspect

Inspect an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Output as YAML
Output as JSON
Specify an output format. Currently supports: json, yaml
Example:

prefect automation resume

Resume an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Example:

prefect automation enable

Resume an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Example:

prefect automation pause

Pause an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Example:

prefect automation disable

Pause an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Example:

prefect automation delete

Delete an automation.

Arguments

string
An automation’s name.

Options

An automation’s id
Delete all automations
Example:

prefect automation create

Create one or more automations from a file or JSON string.

Options

Path to YAML or JSON file containing automation(s)
JSON string containing automation(s)
Example:

prefect automation update

Update an existing automation from a file or JSON string.

Options

The ID of the automation to update
Path to YAML or JSON file containing the updated automation
JSON string containing the updated automation
Example: