Skip to main content

Get a cluster

GET/v1/warehouses/{warehouseId}/clusters/{clusterId}Try it
View request and response examples ↓

Returns Cluster details, including current status, capacity, and connection information when available. Returns HTTP 404 with error code ClusterNotFound if the Cluster does not exist in the Warehouse.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

clusterIdstringrequired

Cluster ID.

Response

Cluster returned successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobjectrequired
Child fields
clusterIdstringrequired

Cluster ID.

warehouseIdstringrequired
namestringrequired

Cluster display name. Must start with a letter. Up to 32 characters. Supports letters (case insensitive), numbers, and underscores.

Maximum length32
Pattern^[A-Za-z][A-Za-z0-9_]{0,31}$
statusstringrequired

Current Cluster status.

  • Creating, Running, Deleting, Deleted, CreateFailed: core cluster lifecycle states
  • Resizing: capacity scaling is in progress
  • Adjusting: a configuration or shape adjustment is in progress
  • Upgrading: an engine upgrade is in progress
  • Suspending: the Cluster is being suspended
  • Suspended: the Cluster is currently suspended
  • Resuming: the Cluster is resuming
  • Stopping: the Cluster is stopping
  • Stopped: the Cluster is stopped
  • Starting: the Cluster is starting
  • Restarting: the Cluster is restarting
Allowed valuesCreatingRunningResizingAdjustingUpgradingSuspendingResumingStoppingStartingRestartingDeletingSuspendedStoppedDeletedCreateFailed

Cluster type.

Allowed valuesSQLOBSERVERCOMPUTE

Cloud provider for the cluster resources.

regionstring

Cloud region for the cluster resources.

zonestring

Availability zone for the Cluster.

Current total disk capacity of the Cluster in GB, when available.

nodeCountinteger

Total number of nodes in the Cluster.

createdAtstring · date-time

Cluster creation time in ISO 8601 format, for example 2026-04-21T08:30:00Z.

Example2026-04-21T08:30:00Z
startedAtstring · date-time

Cluster start time in ISO 8601 format, for example 2026-04-21T08:45:00Z.

Example2026-04-21T08:45:00Z
expireTimestring · date-time

Cluster expiration time when available, for example 2027-04-21T08:30:00Z.

Example2027-04-21T08:30:00Z
autoPauseobject
Child fields
enabledbooleanrequired

Whether automatic pause is enabled.

Idle time in minutes before the Cluster can be paused automatically. When provided, the value must be greater than or equal to 1. This field is required when enabled is true.

Minimum1
Example10

High-level billing summary for the Cluster. For mixed-billing Clusters, this summarizes total nodes and capacity across both the on-demand and subscription pools.

Child fields

Whether the Cluster contains both on-demand and subscription nodes.

nodeCountinteger

Total number of nodes in the Cluster.

Number of on-demand nodes in the Cluster.

Number of subscription nodes in the Cluster.

totalCpuinteger

Total vCPU capacity across all nodes in the Cluster.

Total Cluster disk capacity in GB across all nodes.

Per-billing-pool capacity breakdown. For pure on-demand or pure subscription Clusters, only the corresponding pool is returned. For mixed-billing Clusters, both pools are returned.

Child fields
onDemandobject

Capacity summary for one billing pool inside the Cluster.

Child fields
nodeCountinteger

Node count in this billing pool.

cpuinteger

Total CPU capacity in this billing pool.

diskSizeGbinteger

Total disk capacity in GB for this billing pool.

periodinteger

Current subscription period length for the subscription pool when applicable.

Unit for the subscription period when applicable.

Allowed valuesMonthYear
expireTimestring · date-time

Subscription expiration time when applicable.

Capacity summary for one billing pool inside the Cluster.

Child fields
nodeCountinteger

Node count in this billing pool.

cpuinteger

Total CPU capacity in this billing pool.

diskSizeGbinteger

Total disk capacity in GB for this billing pool.

periodinteger

Current subscription period length for the subscription pool when applicable.

Unit for the subscription period when applicable.

Allowed valuesMonthYear
expireTimestring · date-time

Subscription expiration time when applicable.

nodesobject[]required

Nodes that belong to the Cluster.

Item fields
nodeIdstring

Node ID.

namestring

Node display name.

typestring

Node type.

sizestring

Node instance size.

statusstring

Node status.

zonestring

Availability zone for the node.

rolestring

Node role in the Cluster.

privateIpstring

Private IP address of the node.

publicIpstring

Public IP address of the node when available.

createdAtstring · date-time

Node creation time in ISO 8601 format.

expireTimestring · date-time

Node expiration time when available.

Enter to send · Shift+Enter for a new line