Thread
#prefect-server
    k

    Kamil Gorszczyk

    1 year ago
    Hi everyone. Is there a way to get a list of all registered flow names?
    v

    Vignesh Krish

    1 year ago
    You should be able to use the GraphQL query method to get all the available flow names per project.
    Jenny

    Jenny

    1 year ago
    You can also use the flows tab in the dashboard of the UI.
    k

    Kamil Gorszczyk

    1 year ago
    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.
    Jenny

    Jenny

    1 year ago
    Oh! So you want to query the API. You could use the flows query:
    query {
      flow {
        name
        id
      }
    }
    k

    Kamil Gorszczyk

    1 year ago
    Thanks that was exactly what I needed!