Skip to main content

Create a cluster

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

Creates a Cluster inside the specified Warehouse.

For a multi-AZ Warehouse, zone is required and must match a key in the Warehouse's zoneMap returned by the List warehouses or Get a warehouse endpoint. If zone is omitted or unsupported, the request fails with 400 InvalidParameter.

For a single-AZ Warehouse, zone is optional. If provided, it must match the Warehouse's configured zone; otherwise, the request fails with 400 InvalidParameter. Cluster size must follow the documented vCPU and cache constraints. clusterType must be COMPUTE. If autoPause.idleTimeoutMinutes is provided, it must be greater than or equal to 1; it is required when autoPause.enabled is true.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Headers

RequestIdstringrequired

Idempotency key for write requests.

Use a globally unique UUID or similar token for each logical write request. Never reuse a RequestId across different operations or payloads. You can safely retry the same RequestId only when the method, path, path parameters, query string, and request body are identical.

Minimum length1
Example8f6b0c2e-6a9a-4f2e-9c4c-0a1f9a2b7d31

Request body

application/jsonrequired
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}$
Exampleanalytics_sql_cluster
clusterTypestringrequired

Cluster type. Currently only COMPUTE is supported when creating a Cluster.

Allowed valuesCOMPUTE
zonestring

Availability Zone for the Cluster. For a multi-AZ Warehouse, this field is required and must match a key in the Warehouse's zoneMap returned by the List warehouses or Get a warehouse endpoint. For a single-AZ Warehouse, this field is optional; when provided, it must match the Warehouse's configured zone. Invalid values return InvalidParameter.

Exampleus-east-1a
computeVcpuintegerrequired

Compute capacity of the Cluster in vCPUs. Valid values are 4, 8, 16, and multiples of 16 above that.

Minimum4
ratiointeger

Memory-to-vCPU ratio for the Cluster. Supported values are 4 and 8.

Allowed values48
cacheGbintegerrequired

Cache capacity of the Cluster in GB. Valid values depend on the selected Cluster package. Under the default capacity rules, the minimum is 100 GB through 16 vCPUs, then increases by 100 GB for each additional 16 vCPUs.

Minimum100
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

Response

Cluster creation request submitted 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

Newly created cluster ID.

Enter to send · Shift+Enter for a new line