Quick question. Is there a simple way to run a fl...
# ask-community
a
Quick question. Is there a simple way to run a flow via an API endpoint rather than scheduled within prefect?
b
You can trigger a flow run with a GraphQL query: https://docs.prefect.io/orchestration/flow-runs/creation.html#task
a
perfect! thankyou
k
Hey @Arran,
client.create_flow_run
uses the GraphQL Query under the hood if you want to use that.
🙌 1