---
title: "Get all flows for a worker"
method: GET
path: "/api/workers/{workerId}/flows"
tags: ["Flows"]
---

# Get all flows for a worker

`GET /api/workers/{workerId}/flows`

## Path parameters

- `workerId` string, required

## Response `200`

List of flows

- Flows[]
  - `id` string, required
  - `version` integer, required
  - `name` string, required
  - `label` string, nullable
  - `code` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `workerId` string, required
  - `deploymentsIds` string[]

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/brainbasehq/apis/brainbase-api.md) · [All operations](https://skmtc.net/brainbasehq/apis/brainbase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brainbasehq/brainbase-api/versions/ab4ce60666d2/schema)
