---
ai:
  exclude: true
search:
  tags:
    - cluster
    - GET
seo:
  description: >-
    Returns all nodes in cluster. Reference for the GET /api/2/cluster/nodes
    endpoint in the Jira Software Data Center REST API Reference.
sidebar:
  label: Get all cluster nodes
  badge: GET
title: Get all cluster nodes
type: openapi-operation
---
Returns all nodes in cluster.

`GET /api/2/cluster/nodes`

**Responses**

- `200` — Returns a list of all nodes in the cluster.
- `401` — Returned if the user doesn't have admin permissions
- `405` — Returned if you call this method, but don't have Jira Data Center

Response example, 200:

```json
{
  "alive": true,
  "cacheListenerPort": 0,
  "ip": "string",
  "lastStateChangeTimestamp": 0,
  "nodeBuildNumber": 0,
  "nodeId": "string",
  "nodeVersion": "string",
  "state": "ACTIVE"
}
```
