---
title: "GET /preview-gateway/settings"
method: GET
path: "/preview-gateway/settings"
tags: ["Preview Gateway"]
---

# GET /preview-gateway/settings

`GET /preview-gateway/settings`

## Request

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

## Response `200`

- PreviewGatewaySettingsResponse
  - `auto_upgrade` boolean, required
  - `container_name` string, required: Docker container name of this instance's gateway.
  - `default_container_name` string, required: The default container name. Only installs that share one Docker daemon with another Temps instance need a different one.
  - `default_host_port` integer, required: The compile-time default host port.
  - `default_image` string, required: The compile-time default image — exposed so the UI can offer a "Reset to default" link without round-tripping.
  - `enabled` boolean, required: Whether Temps runs the gateway. While false its containers are removed and workspace preview URLs are not served.
  - `host_port` integer, required
  - `image` string, required

## Changes

- **2026-10-05** `4b228ebed583`: 3 info
  - added the required property `container_name` to the response with the `200` status
  - added the required property `default_container_name` to the response with the `200` status
  - added the required property `enabled` to the response with the `200` status
- **2026-10-05** `63a80791dc58`: 3 breaking
  - removed the required property `container_name` from the response with the `200` status
  - removed the required property `default_container_name` from the response with the `200` status
  - removed the required property `enabled` from the response with the `200` status
- **2026-10-03** `de8387218c0b`: 3 info
  - added the required property `container_name` to the response with the `200` status
  - added the required property `default_container_name` to the response with the `200` status
  - added the required property `enabled` to the response with the `200` status
- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/preview-gateway/settings/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)
