docs/v3/api-ref/python/prefect-cli-task_run.mdx
prefect.cli.task_runTask run command — native cyclopts implementation.
View and inspect task runs.
inspect <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L36" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>inspect(id: UUID)
View details about a task run.
ls <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L91" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>ls()
View recent task runs.
logs <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L219" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>logs(id: UUID)
View logs for a task run.