---
title: "Get Flow"
method: GET
path: "/flows/{flow_id}"
tags: ["Apis", "Streaming"]
---

# Get Flow

`GET /flows/{flow_id}`

Retrieve a flow, including its play and push URLs.

## Path parameters

- `flow_id` integer, required

## Response `200`

The flow.

- FlowOut
  - `id` integer — Flow identifier.
  - `label` string
  - `mode` 'caller' | 'listener' — `caller`: Camb.ai connects out to your SRT endpoint (`primary_url`) and re-serves it. `listener`: Camb.ai hosts an SRT endpoint that your encoder pushes to.
  - `failover` boolean
  - `active` boolean — Whether the flow's relay is currently online.
  - `team_id` integer
  - `key` string — Access key embedded in the flow's URLs.
  - `play_url` string — SRT URL the flow serves. Use it as `source_stream.url` or as a `target_streams[].url`, or play it directly.
  - `push_urls` PushUrl[] — SRT URLs to push into (listener mode). Empty for caller flows.
    - `role` 'primary' | 'backup' — Which leg of the flow this URL feeds.
    - `url` string — SRT URL to push to.
  - `passphrase` string, nullable — The flow's SRT encryption passphrase, when one is set.

## Other responses

- `404` — Flow not found.
- `422` — Validation Error

---

[API](https://skmtc.net/camb/apis/fastapi.md) · [All operations](https://skmtc.net/camb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/camb/fastapi/versions/40ebeee64850/schema)
