---
title: "List Hosts"
method: GET
path: "/admin/hosts"
---

# List Hosts

`GET /admin/hosts`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/admin/hosts`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ListHostsResponse
  - `hosts` HostInfo[], required
    - `id` string, uuid, required
    - `name` string, required
    - `public_fqdn` string, required
    - `agent_endpoint` string, required
    - `enrollment_state` string, required
    - `last_seen_at` string, date-time, nullable, required
    - `overlay_ip` string, required
    - `git_endpoint` string, required
    - `machine_class` string, nullable, required
    - `mem_budget_mb` integer, nullable, required
    - `reserved_mem_mb` integer, required
    - `users_by_plan` object, required
    - `user_count` integer, required
    - `app_count` integer, required
    - `running_channels` integer, required
    - `total_channels` integer, required
    - `resident_databases` integer, required
    - `code_stamp` object, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
