• Home
  • Dynatrace Managed
  • Cluster API
  • Cluster API v1
  • Cluster v1
  • Get cluster nodes configuration

Get cluster nodes configuration

This API request retrieves the cluster nodes configuration.

Authentication

To execute this request, you need the Service Provider API (ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.

Endpoint

/api/v1.0/onpremise/cluster/configuration

Parameter

The request doesn't provide any configurable parameters.

Response

Response codes

CodeDescription
200

Success

Example

This request returns all nodes with their node capability values and assignment to a datacenter.

Curl

bash
curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration" -H "accept: */*"

Request URL

plaintext
https://myManaged.cluster.com/api/v1.0/onpremise/cluster/configuration

Response body

json
{ "clusterNodes": [ { "id": 1, "ipAddress": "10.10.4.2", "webUI": false, "agent": true, "datacenter": "datacenter-1", "kubernetesRole": "" }, { "id": 2, "ipAddress": "10.10.4.6", "webUI": true, "agent": false, "datacenter": "datacenter-1", "kubernetesRole": "" } }

Response code

200