---
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
  - `worker` unknown, required
  - `workerId` string, required
  - `deployments` unknown, required

## Other responses

- `401` — Unauthorized

## Changes

- **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/a3da5c68a303/schema)
