---
title: "Find hosts by name or nodeset"
method: GET
path: "/host/find/{nodeSet}"
tags: ["host"]
---

# Find hosts by name or nodeset

`GET /host/find/{nodeSet}`

Returns a list of hosts in the given nodeset

## Path parameters

- `nodeSet` string, required

## Response `200`

successful operation

- Host[]
  - `id` string
  - `name` string, required
  - `provision` boolean
  - `firmware` string
  - `boot_image` string
  - `interfaces` NetInterface[]
    - `mac` string
    - `name` string
    - `ip` string
    - `fqdn` string
    - `bmc` boolean

## Other responses

- `400` — Invalid nodeset supplied
- `500` — Failed to fetch hosts from database

## Changes

- **2024-12-03** `29c6a9c3f49b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/host/find/:nodeSet/get.md)

---

[API](https://skmtc.dev/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.dev/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ubccr/grendel-api/revisions/29c6a9c3f49b/schema)
