---
title: "Whether the preview domain can be reached."
method: GET
path: "/settings/preview-domain/status"
tags: ["Reachability"]
---

# Whether the preview domain can be reached.

`GET /settings/preview-domain/status`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/settings/preview-domain/status`
- Auth: HTTP bearer

`local_only` (`localhost`, `localho.st`), `unresolved` (a name under it
does not resolve), `no_way_in` (it resolves, but to nothing this install
serves publicly) or `usable`. Recomputed when the setting, the tunnels or
the nodes' public ingress change, and every 30 minutes.

## Response `200`

- PreviewDomainStatusResponse: `GET /settings/preview-domain/status` (ADR 068 D2).
  - `checked_at` string, date-time, required
  - `preview_domain` string, required
  - `reason` string, required: Why, in words.
  - `status` 'local_only' | 'unresolved' | 'no_way_in' | 'usable', required: D2: whether the preview domain can be reached at all.
  - `tunnel_environment_hosts` string, nullable: The tunnel that gives every environment an address instead, when one does (ADR 068 D3): apps are reachable without this domain.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-10-26** `a62e8f318100`: 1 info
  - added the optional property `tunnel_environment_hosts` to the response with the `200` status
- **2026-10-26** `198448ae2ca3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/settings/preview-domain/status/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
