---
title: "List hostnames tunnels publish or could publish, and why."
method: GET
path: "/ingress/hostnames"
tags: ["Ingress"]
---

# List hostnames tunnels publish or could publish, and why.

`GET /ingress/hostnames`

## Request

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

For each: the tunnel carrying it, its state (`published`, `pending`,
`error`, `not_published`) and, when not published, the reason and what to
do.

## Response `200`

- HostnameView[]
  - `candidates` HostnameCandidate[], required: The tunnels whose domain covers it.
    - `auto_publish` boolean, required
    - `connector_id` integer, required
    - `domain` string, required
    - `name` string, required
  - `chosen_connector_id` integer, nullable: The tunnel chosen for it, with mode `tunnel`.
  - `connector_id` integer, nullable: The tunnel that publishes it, or would once `detail` is dealt with.
  - `connector_name` string, nullable
  - `detail` string, required: What is happening; when it is not published, why and what to do.
  - `hostname` string, required
  - `mode` 'automatic' | 'tunnel' | 'off', required: How one hostname reaches visitors, as the operator chose it (ADR 058 D9).
  - `published_at` string, date-time, nullable
  - `served_by_workers` boolean, required: Whether workers serve it. A tunnel only publishes those.
  - `state` string, required: `published`, `pending`, `error` or `not_published`.

## Changes

> 98 revisions in range; 1 not diffed.

- **2026-10-22** `d8a717162ef5`: 1 info
  - endpoint added
- **2026-10-22** `06005615b19e`: 1 breaking
  - api path removed without deprecation
- **2026-10-22** `7d41b820a372`: 1 info
  - endpoint added
- **2026-10-22** `add7f7b41ae2`: 1 breaking
  - api path removed without deprecation
- **2026-10-21** `842d42ed4659`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ingress/hostnames/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/fdfa2df06ae7?raw)
