Hi all, i have a question regarding the GraphQL Prefect API. For now i can easily query all the information from Prefect Server and register flow with mutations. But can anyone give a reference about directly running flows by id/name using GraphQL mutations, please?
j
Jenny
09/16/2021, 1:21 PM
Hi @Aleksandr Glushko - you can use the create_flow_run mutation:
Copy code
mutation {
create_flow_run (input: {flow_id: "ba062907-9887-4e0b-a46e-a4368267xxx"}) {
id
}
}