https://prefect.io logo
Title
k

Kamil Gorszczyk

06/05/2021, 9:57 PM
Hi everyone. Is there a way to get a list of all registered flow names?
v

Vignesh Krish

06/07/2021, 10:53 AM
You should be able to use the GraphQL query method to get all the available flow names per project.
j

Jenny

06/07/2021, 1:50 PM
You can also use the flows tab in the dashboard of the UI.
k

Kamil Gorszczyk

06/09/2021, 7:27 PM
Sorry I should have been more specific. I’m trying to get a list of all registered flows inside of a task run to log all available flows in a database table.
j

Jenny

06/09/2021, 7:34 PM
Oh! So you want to query the API. You could use the flows query:
query {
  flow {
    name
    id
  }
}
k

Kamil Gorszczyk

06/13/2021, 1:13 PM
Thanks that was exactly what I needed!
👍 1