Skip to main content

List clusters in a warehouse

GET/v1/warehouses/{warehouseId}/clustersTry it
View request and response examples ↓

Returns Clusters in the specified Warehouse.

Use clusterId, clusterName, status, and clusterType to filter results.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Query parameters

pageinteger

Page number. Defaults to 1.

Minimum1
Default1
sizeinteger

Page size. Defaults to 20. Maximum is 100. Values above 100 will be coerced to 100.

Minimum1
Maximum100
Default20
clusterIdstring

Filters by an exact cluster ID.

Filters by a partial cluster name match.

statusstring

Cluster status filter.

Cluster type filter.

Allowed valuesSQLOBSERVERCOMPUTE

Response

Clusters returned successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobject[]required
Item 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
Child fields

Public endpoint for the Cluster when available.

Private endpoint for the Cluster when available.

TCP listener port for the Cluster SQL endpoint when available.

pageintegerrequired
sizeintegerrequired
totalinteger · int64required

Enter to send · Shift+Enter for a new line