Skip to main content

prefect task-run

View and inspect task runs.

prefect task-run inspect

View details about a task run.

Arguments

string
required

Options

Open the task run in a web browser.
Specify an output format. Currently supports: json

prefect task-run ls

View recent task runs.

Options

Name of the task
Maximum number of task runs to list
Name of the task run’s state
Type of the task run’s state
Specify an output format. Currently supports: json

prefect task-run logs

View logs for a task run.

Arguments

string
required

Options

Show the first 20 logs instead of all logs.
Number of logs to show when using the —head or —tail flag. If None, defaults to 20.
Reverse the logs order to print the most recent logs first
Show the last 20 logs instead of all logs.
Specify an output format. Currently supports: json