---
title: Get Instance for the Node
slug: kron-pam-api-collection-381-patch3/get-instance-for-the-node
docTags: 
createdAt: 2026-10-21T06:07:16.182Z
---

{
  "id": "jV1PhTWZePjz3r2HWNEYl",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getInstancesForTheNode/{{id}}",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>This request retrieves the instance details associated with a specific connector node in the Kron PAM system. The instance details include configuration settings, status information, and related node and site details.</p>\n<p><strong>Key Information Returned:</strong></p>\n<ul>\n<li>\n<p>Instance name and internal IP</p>\n</li>\n<li>\n<p>Tunnel status and setup log</p>\n</li>\n<li>\n<p>Associated connector node and site details</p>\n</li>\n<li>\n<p>VPN configuration</p>\n</li>\n</ul>\n<p>This request is useful for monitoring the specific instance of a connector node, including its setup status and connection details.</p>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "X-XSRF-TOKEN",
          "description": "",
          "default": "{{csrftoken}}",
          "value": "{{csrftoken}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        },
        {
          "name": "id",
          "description": "",
          "default": "id",
          "value": "id",
          "type": "string"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Get Instance for the Node",
        "jsonExample": "[\n    {\n        \"dbId\": 2216494,\n        \"instanceName\": \"arift\",\n        \"instanceInternalIp\": null,\n        \"tunnelStatus\": \"waiting_client_setup\",\n        \"tunnelSetupLog\": null,\n        \"connectorNode\": {\n            \"dbId\": 2216493,\n            \"nodeName\": \"bdf_arift_openvpn\",\n            \"subnet\": \"192.168.0.0/28\",\n            \"tunnelPort\": null,\n            \"connectionPort\": null,\n            \"externalIp\": null,\n            \"internalIp\": \"192.168.0.3\",\n            \"sshKey\": null,\n            \"connectorSite\": {\n                \"dbId\": 2216491,\n                \"siteName\": \"bdf\",\n                \"siteDescription\": \"bdfs\",\n                \"isAnyNodeActive\": false,\n                \"connectorNodeList\": null,\n                \"pageForSearch\": 0\n            },\n            \"instanceName\": null,\n            \"tunnelStatus\": null,\n            \"heartbeat\": null,\n            \"clientId\": \"1e645873-3fd0-4743-8543-7fb19ceed9c1\",\n            \"vpnUsername\": \"admin\",\n            \"vpnPassword\": null,\n            \"vpnConfig\": \"krontech.com\",\n            \"connectorType\": \"openvpn\",\n            \"pageForSearch\": 0,\n            \"instanceNameTunnelStatusPair\": null\n        },\n        \"heartbeatStartTimeForChart\": null,\n        \"heartbeatEndTimeForChart\": null,\n        \"tunnelPublicKey\": null,\n        \"tunnelPrivateKey\": null\n    }\n]"
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "pwXXnj4ExLMIEvsAVWkAl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url {{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getInstancesForTheNode/{{id}} \\\n     --header 'accept: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}'"
        },
        {
          "id": "y2TZE25fOh3zFcYo4CfWY",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-xsrf-token\", \"{{csrftoken}}\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getInstancesForTheNode/{{id}}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "Gnl8cJnPX35MS1lCQhRTI",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getInstancesForTheNode/{{id}}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{csrftoken}}\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "fEtI3QcqHNE9oNAAQlcuq",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/getInstancesForTheNode/{{id}}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "pwXXnj4ExLMIEvsAVWkAl"
    },
    "results": {
      "languages": [
        {
          "id": "RBtxVldr6OQ9aAlLJwFzv",
          "language": "200",
          "code": "[\n    {\n        \"dbId\": 2216494,\n        \"instanceName\": \"arift\",\n        \"instanceInternalIp\": null,\n        \"tunnelStatus\": \"waiting_client_setup\",\n        \"tunnelSetupLog\": null,\n        \"connectorNode\": {\n            \"dbId\": 2216493,\n            \"nodeName\": \"bdf_arift_openvpn\",\n            \"subnet\": \"192.168.0.0/28\",\n            \"tunnelPort\": null,\n            \"connectionPort\": null,\n            \"externalIp\": null,\n            \"internalIp\": \"192.168.0.3\",\n            \"sshKey\": null,\n            \"connectorSite\": {\n                \"dbId\": 2216491,\n                \"siteName\": \"bdf\",\n                \"siteDescription\": \"bdfs\",\n                \"isAnyNodeActive\": false,\n                \"connectorNodeList\": null,\n                \"pageForSearch\": 0\n            },\n            \"instanceName\": null,\n            \"tunnelStatus\": null,\n            \"heartbeat\": null,\n            \"clientId\": \"1e645873-3fd0-4743-8543-7fb19ceed9c1\",\n            \"vpnUsername\": \"admin\",\n            \"vpnPassword\": null,\n            \"vpnConfig\": \"krontech.com\",\n            \"connectorType\": \"openvpn\",\n            \"pageForSearch\": 0,\n            \"instanceNameTunnelStatusPair\": null\n        },\n        \"heartbeatStartTimeForChart\": null,\n        \"heartbeatEndTimeForChart\": null,\n        \"tunnelPublicKey\": null,\n        \"tunnelPrivateKey\": null\n    }\n]"
        }
      ],
      "selectedLanguageId": "RBtxVldr6OQ9aAlLJwFzv"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}