Skip to main content
POST
Change the generation of a Snowflake warehouse

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Path Parameters

warehouse_uuid
string
required

Body

application/json

Change the generation of a Snowflake warehouse.

generation
enum<string>
required

The generation to change to. Gen2 is only available for STANDARD warehouses smaller than 5X-Large.

Available options:
1,
2
snowflake_account_uuid
string | null

The snowflake_account_uuid of the warehouse, from the warehouse list. Required when more than one Snowflake account has a warehouse with this uuid.

Response

Successful Response

A Snowflake warehouse, with its SELECT automated savings settings.

uuid
string
required

The identifier Snowflake gives the warehouse.

snowflake_account_uuid
string
required

The identifier of the Snowflake account that contains the warehouse.

name
string
required

The name of the warehouse.

smart_suspend
boolean
required

Whether SELECT automated savings is on for the warehouse.

type
string
required

The Snowflake warehouse type, for example STANDARD.

snowflake_organization_name
string | null

The name of the Snowflake organization.

snowflake_account_name
string | null

The name of the Snowflake account.

resumed_on
string<date-time> | null

When Snowflake last resumed the warehouse.

is_interactive
boolean
default:false

Whether the warehouse is an interactive warehouse.

tgs_cluster_reduction_in_progress
boolean | null

Whether automated savings has lowered the maximum cluster count of the warehouse and has not restored it yet.

tgs_initial_max_cluster_count
integer | null

The maximum cluster count of the warehouse before automated savings lowered it.

tgs_feature_overrides
TgsFeatureOverrides · object

Overrides that SELECT staff set for how automated savings manages the warehouse.

size
string | null

The Snowflake warehouse size. null for an adaptive warehouse.

min_cluster_count
integer | null

The minimum cluster count of the warehouse.

max_cluster_count
integer | null

The maximum cluster count of the warehouse.

scaling_policy
string | null

The Snowflake scaling policy of the warehouse.

auto_suspend
integer | null

The number of seconds of inactivity after which Snowflake suspends the warehouse.

generation
string | null

The Snowflake generation of the warehouse.