---
title: "GET /lb/routes/{domain}"
method: GET
path: "/lb/routes/{domain}"
tags: ["Load Balancer"]
---

# GET /lb/routes/{domain}

`GET /lb/routes/{domain}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/lb/routes/{domain}`
- Auth: none declared

## Path parameters

- `domain` string, required

## Response `200`

Route found

- RouteResponse
  - `created_at` string, date-time, required: When the route was created (ISO 8601, UTC)
  - `domain` string, required
  - `enabled` boolean, required
  - `host` string, required
  - `id` integer, required
  - `port` integer, required
  - `route_type` string, required: Route type: "http" or "tls"
  - `updated_at` string, date-time, required: When the route was last changed (ISO 8601, UTC)

## Other responses

- `404`: Route not found
- `500`: Internal server error

## Changes

- **2026-11-26** `199b8052eb32`: 2 breaking
  - the `created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-11-03** `0add2fdd114a`: 1 info
  - added the non-success response with the status `500`
- **2026-11-03** `fcfcfae25744`: 1 info
  - removed the non-success response with the status `500`
- **2026-11-03** `af07888c38c0`: 1 info
  - added the non-success response with the status `500`
- **2026-01-11** `50604ba8d4a8`: 1 info
  - added the required property `route_type` to the response with the `200` status

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