1Get Query Engines
Overview
This API retrieves a list of Query engines/servers. Results are sorted by location in ascending order.
Method: GET
Request URL: {kyvos-url}/rest/v2/activity-monitor/query-engines
Authorization
API Key: sessionid
This method authenticates requests using a session ID which acts like an API key.
BasicAuth: HTTP Authorization Scheme
This method authenticates requests using a username and password sent in the HTTP Authorization header.
Headers
Header Name | Type | Description | Possible Values |
|---|---|---|---|
sessionid | String | The session ID is the token received from the login API. Note: Session ID is required for token-based authentication. | – |
Responses
200 Success
{
"queryEngines": [
{
"memoryUsage": "11.94 GB 29.86%",
"instanceName": "queryengine",
"location": "172.16.23.53",
"ports": "45440, 6903"
},
{
"memoryUsage": "5.38 GB 13.44%",
"instanceName": "queryengine",
"location": "172.16.23.19",
"ports": "45440, 6903"
}
]
}Status Code | Description |
|---|---|
401 | Authorization information is missing or invalid. |
404 | No matching record found. |
500 | Internal Server Error. |