Viewing the Cluster

View your cluster

View Cluster

Once you have your cluster configured, you can view the cluster using the cluster endpoint.

curl --location --request GET 'http://localhost:8080/nuix-restful-service/svc/v1/cluster' \
--header 'nuix-auth-token: 9729a460-eda7-48dc-ba70-d12b3aae3c8d' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
{
    "nodes": [
        {
            "hostAddress": "192.168.1.160",
            "hostName": "localhost",
            "port": 5601,
            "details": {
                "serverId": "nuix-restful-server1",
                "publicURL": "http://192.168.1.160:8080",
                "name": "Producer Node",
                "tags": [
                    "producer"
                ],
                "guid": "353a72fc-43ed-394a-b015-aa2caa2d048b"
            }
        },
        {
            "hostAddress": "192.168.1.161",
            "hostName": "localhost",
            "port": 5601,
            "details": {
                "serverId": "nuix-restful-server-2",
                "publicURL": "http://192.168.1.161:8080",
                "name": "Worker Node",
                "tags": [
                    "worker"
                ],
                "guid": "63f2fc6b-b6b9-32be-93db-51f1f01d602e"
            }
        }
    ]
}