Get the cluster's feature flags
const url = 'http://localhost:8000/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features';
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/features \
--header 'API-Key: <API-Key>' \
--header 'API-Version: 2026-06-01.beta'Returns the Keycloak feature flags enabled on the cluster and any change still rolling out: pending until the
cluster’s maintenance window, or applying while Keycloak restarts. A cluster that is updating for another reason, such as a resize or an upgrade, is also reported as applying. Flags that only Skycloak can set are not
listed. See GET /cluster-features for the flags you can enable.
Required scope: clusters:read
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”The request has succeeded.
The Keycloak feature flags you manage on a cluster. Flags that only Skycloak can set are not listed and are never changed through this API.
object
Enabled feature flags. While a change is pending or applying this is the requested set, which Keycloak runs once the change finishes.
The change still rolling out. Absent when nothing is pending.
object
Where a Keycloak feature flag change stands.
When the maintenance window next opens. Present for a pending change whose window could be resolved.
Example
{
"change": {
"state": "pending"
}
}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"
}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
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"
}