---
title: "Get a single flow"
method: GET
path: "/api/workers/{workerId}/flows/{flowId}"
tags: ["Flows"]
---

# Get a single flow

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

## Path parameters

- `workerId` string, required
- `flowId` string, required

## Response `200`

Flow details

- 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
- `404` — Flow not found

## Changes

- **2025-02-04** `ab4ce60666d2` — 2 breaking, 1 info
  - removed the required property `deployments` from the response with the `200` status
  - removed the required property `worker` from the response with the `200` status
  - added the optional property `deploymentsIds` to the response with the `200` status
- **2025-02-04** `78ff4a594abd` — 2 breaking, 17 info
  - the `deployments` response's property type/format changed from `deployments`/`` to `object`/`` for status `200`
  - the `worker` response's property type/format changed from `workers`/`` to `object`/`` for status `200`
  - added the optional property `deployments/delegate_aux_chatDeployment` to the response with the `200` status
  - added the optional property `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/:flowId/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)
