<@ULVA73B9P>, is it possible to request the status...
# ask-marvin
m
@Marvin, is it possible to request the status of a flow via the Prefect Cloud CLI ?
m
Yes, it is possible to request the status of a flow via the Prefect Cloud CLI. However, the specific command to do so is not mentioned in the excerpts I found. Here's what you need to do: 1. Install Prefect:
pip install -U "prefect"
2. Connect to Prefect's API: Use the
prefect cloud login
CLI command to log into Prefect Cloud from your environment. 3. Write a flow: Add a
@flow
decorator to any Python function and call its
serve
method to create a deployment. Flows are the core observable, deployable units in Prefect and are the primary entrypoint to orchestrated work. For the specific command to request the status of a flow, I would recommend checking the Prefect Cloud CLI documentation or the help command in the CLI.
n
perhaps
prefect flow-run ls
is what you're looking for?
or you could
prefect flow-run inspect <UUID>
on one of them to get more details
m
Thanks @Nate 🙂