List the sites usable in a region
const url = 'http://localhost:8000/cluster-locations/us/sites';
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/cluster-locations/us/sites \
--header 'API-Key: <API-Key>' \
--header 'API-Version: 2026-06-01.beta'Returns the sites in the region of the given location that your workspace may create clusters in: the region’s default site plus the sites your workspace has been granted, and no other site.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Region where the cluster is hosted.
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”The request has succeeded.
A site a workspace may create clusters in.
object
Site code, as accepted by the site field when creating a cluster.
Region where the cluster is hosted.
Whether this is the region’s default site, which is open to every workspace. Other sites are listed only when your workspace has been granted them.
Example
[
{
"location": "us"
}
]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"
}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"
}