Join Slack
Communities
Powered by
Quick question. Is there a simple way to run a fl...
# ask-community
a
Arran
07/29/2021, 8:20 AM
Quick question. Is there a simple way to run a flow via an API endpoint rather than scheduled within prefect?
b
Bouke Krom
07/29/2021, 8:45 AM
You can trigger a flow run with a GraphQL query:
https://docs.prefect.io/orchestration/flow-runs/creation.html#task
a
Arran
07/29/2021, 8:48 AM
perfect! thankyou
k
Kevin Kho
07/29/2021, 1:50 PM
Hey
@Arran
,
client.create_flow_run
uses the GraphQL Query under the hood if you want to use that.
🙌 1
2
Views
Open in Slack
Previous
Next