---
search:
  tags:
    - relay-zones
    - POST
seo:
  description: >-
    Runs the pre-deploy checks on candidate relays (advisory):… Reference for
    the POST /api/v1/relay-zones/preflight endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: Run relay pre-deploy checks
  badge: POST
title: Run relay pre-deploy checks
type: openapi-operation
---
Runs the pre-deploy checks on candidate relays (advisory): the specs, the ports of the relay, that a network interface of each relay has a subnet that contains the address of the zone, and that each relay reaches the console by the host name of TSE_PUBLIC_URL (console_reach).

`POST /api/v1/relay-zones/preflight`

**Request body** (`application/json`, required)

- `address` (string, required) — The IPv4 address of the zone.
- `server_ids` (string[], required) — The candidate relays.

Request body example:

```json
{
  "address": "string",
  "server_ids": [
    "string"
  ]
}
```

**Responses**

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

Response example, 200:

```json
{
  "servers": [
    {
      "checks": [
        {
          "check": "string",
          "detail": "string",
          "status": "pass"
        }
      ],
      "role": "string",
      "server_id": "string",
      "server_name": "string"
    }
  ]
}
```
