Hi everyone. Is there a way to get a list of all r...
# prefect-server
k
Hi everyone. Is there a way to get a list of all registered flow names?
v
You should be able to use the GraphQL query method to get all the available flow names per project.
j
You can also use the flows tab in the dashboard of the UI.
k
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
Oh! So you want to query the API. You could use the flows query:
Copy code
query {
  flow {
    name
    id
  }
}
k
Thanks that was exactly what I needed!
👍 1