---
title: "Get host count metrics"
method: GET
path: "/metrics/hostcount"
---

# Get host count metrics

`GET /metrics/hostcount`

Get metrics related to host counts.

## Response `200`

OK

- HostCountMetrics
  - `healthy_host_count` number
  - `unhealthy_host_count` number

## Other responses

- `500` — Internal service error

## Changes

- **2025-02-08** `bcf7db719f05` — 1 info
  - endpoint added
- **2023-06-29** `0e6bd4e2dcc9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api/changes/metrics/hostcount/get.md)

---

[API](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/revisions/cb6820b4f999/schema)
