---
title: "Returns the type of utility actor(s) running on the node"
method: POST
path: "/v1/query/nodeRoles"
tags: ["query"]
---

# Returns the type of utility actor(s) running on the node

`POST /v1/query/nodeRoles`

## Response `200`

A list of the node's utility actor(s)

- QueryNodeRolesResponse
  - `node_roles` string[], required

## Changes

- **2023-06-08** (v1) `650d12a0278e` — 1 info
  - endpoint added
- **2022-11-03** (v1) `f1547121fa01` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/pocket-network/changes/v1/query/nodeRoles/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/pocket-network.md) · [All operations](https://skmtc.dev/pokt-network/apis/pocket-network/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/pocket-network/revisions/492a043fd702/schema)
