Get performance metrics
const url = 'http://localhost:8000/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/insights/performance?realm=customer-portal';
const options = {
method: 'GET',
headers: {'API-Version': '2026-06-01.beta', 'API-Key': '<API-Key>'}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}curl --request GET \
--url 'http://localhost:8000/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/insights/performance?realm=customer-portal' \
--header 'API-Key: <API-Key>' \
--header 'API-Version: 2026-06-01.beta'Returns CPU utilization, JVM heap usage, response time percentiles, garbage collection overhead, and live thread count.
When neither start_time nor end_time is provided the window covers the last 24 hours.
Required scope: clusters:insights:read
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Keycloak realm name (not ID). Must start with a letter; allows letters, digits, and hyphens.
Example
customer-portalRestrict metrics to a specific realm.
Inclusive start time (ISO 8601). Defaults to 24 hours ago when omitted.
Inclusive end time (ISO 8601). Defaults to the current time when omitted.
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”The request has succeeded.
System performance metrics over the requested time window.
object
Response time statistics for authentication endpoints.
object
object
object
object
object
object
object
object
object
Per-endpoint breakdown for the top auth endpoints by request volume.
Performance summary for a single authentication endpoint.
object
Endpoint path pattern.
Mean response time, in milliseconds.
95th percentile response time, in milliseconds.
JVM heap usage as a percentage (0–100).
object
object
Mean CPU utilization across all pods (0–100+, may exceed 100 on multi-core systems).
object
object
Peak CPU utilization across all pods.
object
object
JVM garbage collection overhead.
object
object
Live JVM thread count.
object
object
Example
{
"response_times": {
"by_endpoint": [
{
"endpoint": "/realms/{realm}/protocol/openid-connect/token"
}
]
}
}The server could not understand the request due to invalid syntax.
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}Access is unauthorized.
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}Access is forbidden.
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}The server cannot find the requested resource.
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}Client error
object
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"errors": [
{
"field": "example",
"detail": "example",
"code": "example",
"value": "example"
}
]
}Client error
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}Headers
Section titled “Headers”Server error
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}Server error
RFC 9457 Problem Details object.
object
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}