hi all, what's the best way to have a flow that's ...
# prefect-community
d
hi all, what's the best way to have a flow that's only triggered via API call (i assume this is possible)? say we're using Prefect Cloud
j
Hi Daniel, schedules need to be configured and are not attached by default. Don't configure a schedule and you should be fine
d
thanks, what's the recommended way to trigger the flow run without using the UI? can this be done via the API?
j
Copy code
prefect run --name "name of flow"
https://docs.prefect.io/orchestration/flow-runs/creation.html#cli
I also attached some docs on creating flow runs.
There's also a section that covers creating a flow run through the imperative api if that's what you meant
d
👍
k
You don’t even need Prefect installed. See this
👀 1
d
thanks @Kevin Kho