---
title: "node find"
method: GET
path: "/v1/nodes/find"
tags: ["v1", "nodes"]
---

# node find

`GET /v1/nodes/find`

#### Controller: 

`github.com/ubccr/grendel/internal/api.(*Handler).NodeFind`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware`

---

Find nodes by nodeset and/or tags

## Query parameters

- `nodeset` string
- `tags` string

## Headers

- `Accept` string

## Response `200`

OK

- Host[]
  - `bonds` object[]
    - `bmc` boolean
    - `fqdn` string
    - `id` integer, nullable
    - `ifname` string
    - `ip` string
    - `mac` string
    - `mtu` integer
    - `peers` string[]
    - `vlan` string
  - `boot_image` string
  - `firmware` string
  - `id` integer, nullable
  - `interfaces` object[]
    - `bmc` boolean
    - `fqdn` string
    - `id` integer, nullable
    - `ifname` string
    - `ip` string
    - `mac` string
    - `mtu` integer
    - `vlan` string
  - `name` string
  - `provision` boolean
  - `tags` string[], nullable
  - `uid` string, nullable

## Other responses

- `default` — Default Error

## Changes

- **2025-07-18** `20bff94216e2` — 2 breaking
  - the response property `items/tags` became nullable for the status `200` (media type: application/json)
  - the response property `items/tags` became nullable for the status `200` (media type: application/xml)
- **2025-03-21** `9e09e176e964` — 1 info
  - endpoint added
- **2024-12-03** `29c6a9c3f49b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/v1/nodes/find/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/62eb4acab992/schema)
