---
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

## Changes

- **2025-02-04** `ab4ce60666d2` — 2 breaking, 1 info
  - removed the required property `items/deployments` from the response with the `200` status
  - removed the required property `items/worker` from the response with the `200` status
  - added the optional property `items/deploymentsIds` to the response with the `200` status
- **2025-02-04** `78ff4a594abd` — 2 breaking, 17 info
  - the `items/deployments` response's property type/format changed from `deployments`/`` to `object`/`` for status `200`
  - the `items/worker` response's property type/format changed from `workers`/`` to `object`/`` for status `200`
  - added the optional property `items/deployments/delegate_aux_chatDeployment` to the response with the `200` status
  - added the optional property `items/deployments/delegate_aux_emailDeployment` to the response with the `200` status
  - …15 more
- **2025-02-04** `a3da5c68a303` — 1 info
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/brainbasehq/apis/brainbase-api/changes/api/workers/:workerId/flows/get.md)

---

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