cURL
curl --request GET \ --url https://api.cpln.io/org/{org}/agent/{name}/-info \ --header 'Authorization: <api-key>'
{ "protocolVersion": "v1", "instanceId": "<string>", "lastActive": "2023-11-07T05:31:56Z", "env": {}, "peerCount": 123, "serviceCount": 123 }
Service account key can be used as API keys
Success
v1
v2