---
title: "Retrieve all flows associated with the current user from the repository"
method: GET
path: "/flows"
tags: ["flows"]
---

# Retrieve all flows associated with the current user from the repository

`GET /flows`

This will only return Flows that are either directly associated with the user, or that are associated with a tenant that the user is also a member of.

## Query parameters

- `page[size]` integer
- `page[number]` integer
- `filter[status]` integer
- `filter[type]` string
- `filter[user]` string
- `sort` string
- `search` string

## Response `200`

A list of flows.

- object
  - `data` Flow[]
    - `name` string, required
    - `description` string
    - `graph` FlowGraph, required
      - `nodes` object[]
        - `id` string, required
        - `componentId` string, required
        - `command` string, required
        - `name` string
        - `description` string
        - `fields` object
      - `edges` object[]
        - `id` string, required
        - `config` object
          - `condition` string
          - `mapper` object
        - `source` string, required
        - `target` string, required
    - `type` 'ordinary' | 'realtime', required — Flow type
    - `owners` Owner[]
      - `id` string, required — External id of the owner
      - `type` string, required — Type to discriminate owner's type
    - `id` string, required
    - `status` 'active' | 'inactive', required — Flow status
    - `createdAt` string, date-time, required — Flow creation time
    - `updatedAt` string, date-time, required — Flow update time
  - `meta` Meta
    - `page` integer — Current page (1-based numbering)
    - `perPage` integer — Number of objects per page
    - `total` integer — Total number of objects
    - `totalPages` integer — Total number of pages

## Other responses

- `404` — No flows associated with the current user could be found in the repository.

---

[API](https://skmtc.dev/openintegrationhub/apis/flow-repository.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/flow-repository/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrationhub/flow-repository/revisions/db102ef341f4/schema)
