---
search:
  tags:
    - relay-zones
    - GET
seo:
  description: >-
    Returns each relay zone with its relays, the servers that reach the…
    Reference for the GET /api/v1/relay-zones endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: List relay zones
  badge: GET
title: List relay zones
type: openapi-operation
---
Returns each relay zone with its relays, the servers that reach the console through it, a live check that its address forwards the mesh port of the console, and for each relay whether it holds the address of the zone. With live false, the console runs no check and gives the last results.

`GET /api/v1/relay-zones`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "zones": [
    {
      "address": "string",
      "forwarding": {
        "detail": "string",
        "state": "ok"
      },
      "id": "string",
      "in_progress": true,
      "name": "string",
      "redeploy_needed": true,
      "relays": [
        {
          "holds_address": true,
          "host": "string",
          "name": "string",
          "overlay_ip": "string",
          "reachable": true,
          "server_id": "string"
        }
      ],
      "servers": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "status": "pending",
      "update_available": true,
      "workflow_id": "string"
    }
  ]
}
```
