> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Flow Regions

> List the regions you can host flows and stream endpoints in.

## Overview

Returns the regions where Camb.ai can host an SRT endpoint for you. Pass one as
`region` when you:

* [create a flow](/api-reference/endpoint/streaming/create-flow.md),
* push your source to a stream's hosted ingest (`deferred_source_stream`), or
* add an SRT listener target (`"type": 6`) to a [stream](/api-reference/endpoint/streaming/create-new-stream.md).

Without a `region`, endpoints are hosted in `us-central1`. A region is fixed
once the flow or stream is created, because the returned URLs carry that
region's address.

```bash cURL theme={null}
curl -X GET "https://client.camb.ai/apis/flows/regions" \
  -H "x-api-key: YOUR_API_KEY"
```

```python Python theme={null}
import requests

response = requests.get(
    "https://client.camb.ai/apis/flows/regions",
    headers={"x-api-key": "YOUR_API_KEY"},
)

response.raise_for_status()
print(response.json())
```

```json Response theme={null}
["europe-west2", "us-central1"]
```

## Related endpoints

* [Create an SRT Flow](/api-reference/endpoint/streaming/create-flow.md)
* [Create a Stream](/api-reference/endpoint/streaming/create-new-stream.md)


## OpenAPI

````yaml get /flows/regions
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://client.camb.ai/apis
security: []
paths:
  /flows/regions:
    get:
      tags:
        - Apis
        - Streaming
      summary: List Flow Regions
      description: >-
        List the regions you can host flows and streams in. Use one as `region`
        when creating a flow, a stream's hosted ingest
        (`deferred_source_stream`), or an SRT listener target.
      operationId: list_flow_regions_flows_regions_get
      responses:
        '200':
          description: Regions you can create a flow in, sorted by name.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
              example:
                - europe-west2
                - us-central1
      security:
        - APIKeyHeader: []
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        The `x-api-key` is a custom header required for authenticating requests
        to our API. Include this header in your request with the appropriate API
        key value to securely access our endpoints. You can find your API key(s)
        in the 'API' section of our studio website.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.