List clusters
const url = 'http://localhost:8000/clusters';
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 \
--header 'API-Key: <API-Key>' \
--header 'API-Version: 2026-06-01.beta'Returns all clusters in the workspace.
Required scope: clusters:read
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”The request has succeeded.
A summary of a Keycloak cluster, used in list responses.
object
Unique cluster identifier.
Human-readable cluster name.
Cluster version in semver format. Check the documentation for the latest supported versions.
Region where the cluster is hosted.
Skycloak manages the full lifecycle of the cluster. Every cluster is fully managed.
Keycloak instance URL. Only non-empty once the cluster reaches available status.
Whether admin console SSO integration is enabled for this cluster.
Whether automatic patch upgrades are enabled for this cluster.
Path prefix Keycloak is served from (e.g. /auth). Empty string means /.
Example
[
{
"type": "keycloak",
"size": "small",
"version": "26.5.5",
"location": "us",
"status": "provisioning",
"management_mode": "full",
"http_relative_path": ""
}
]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"
}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"
}