Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
a
Ashe
05/18/2023, 5:56 PM
👋 Another question for a human (Marvin doesn’t know the answer): Is there a way to kick off a run with a
post
request (maybe using graphql? this is removed:
https://docs.prefect.io/latest/api/graphql/
) 🙏
and this doesn’t exist…
https://docs.prefect.io/latest/tutorial/deployments/
j
jawnsy
05/18/2023, 6:20 PM
Prefect 2 does not support GraphQL. Are you using Prefect 1, or did you follow a link from somewhere?
a
Ashe
05/18/2023, 7:07 PM
prefect 2!
basically how do I wrap a flow kick off in a fast api OR kick off a run from a prefect api
j
jawnsy
05/19/2023, 2:42 AM
I think the easiest way is to use our Python SDK, see docs here:
https://docs.prefect.io/latest/api-ref/prefect/client/orchestration/#prefect.client.orchestration.PrefectClient.create_flow
#prefect-ui
Join Slack