Hi! How do I programmatically run a registered flow, so that I can see the execution in the UI (local, not cloud)?
π 1
l
Laura Lorenz (she/her)
05/07/2020, 1:53 PM
Hi @Matthias, for programmatically starting ad-hoc flow runs (not on a schedule) you have a couple options; you can use the CLI, the GraphQL API directly, or the GraphQL API from Python. Itβs kind of hidden under the tooltip but the code box with tabs at https://docs.prefect.io/orchestration/tutorial/first.html#run-flow-with-the-prefect-api shows examples of the syntax for the different styles