TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/{region}/compute/clusters', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "name": "<string>", "projectId": "<string>", "regionId": "<string>", "kubernetesVersion": "<string>", "status": "provisioning", "createdAt": "2023-11-07T05:31:56Z", "health": { "status": "healthy", "lastChecked": "2023-11-07T05:31:56Z" }, "endpoint": "<string>", "nodeCount": 123, "metadata": {}, "updatedAt": "2023-11-07T05:31:56Z" } ], "meta": { "total": 123, "limit": 123, "offset": 123 } }
List Kubernetes clusters in the region
Region identifier
Filter by status
provisioning
running
updating
degraded
deleting
error
Filter by project
Maximum results
Results to skip
List of clusters
true
Show child attributes
Was this page helpful?