---
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

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/versions/45e9f0a95af0/schema)
