Change Intelligence is coming.

createStage

Last updated: August 12, 2026

Creates a new stage in Snowflake. Stages are locations where data files are stored for loading into or unloading from tables.

Note: Automatic rollback drops the stage.

Available attributes

Name

Type

Description

Required

catalogName

String

Name of the catalog (database) where the stage is created

No

schemaName

String

Name of the schema where the stage is created

No

stageName

String

Name of the stage to create

Yes

stageType

String

Type of stage: INTERNAL, AWS, AWS_COMPAT, AZURE, or GCP

Yes

comment

String

Comment describing the stage

No

replaceIfExists

Boolean

Replace the stage if it exists using OR REPLACE

No

stageParams

Nested

Configuration for external stage locations

No

fileFormat

Nested

File format configuration

No

directoryTableParams

Nested

Directory table configuration for change tracking

No

tags

Nested

Key-value pairs of tags to apply

No

stageParams attributes

Configuration for external stage locations (nested element):

Attribute

Type

Description

url

String

External storage URL (S3, Azure, GCS)

storageIntegration

String

Named integration for authentication

storageEncryptionType

String

Encryption type (e.g., AWS_SSE_S3, SNOWFLAKE_SSE, NONE)

endpoint

String

Private/custom endpoint URL

awsAccessPointArn

String

AWS S3 Access Point ARN

usePrivateLinkEndpoint

Boolean

Use AWS PrivateLink endpoint

awsCredentials

Nested

AWS credentials (awsKeyId, awsSecretKey, awsToken, awsRole)

azureCredentials

Nested

Azure credentials (azureSasToken)

fileFormat attributes

File format configuration (nested element):

Attribute

Type

Description

fileFormatName

String

Reference to named file format

fileFormatType

String

Type: CSV, JSON, AVRO, ORC, PARQUET, XML, CUSTOM

formatTypeOptions

MapWrapper

Type-specific options (e.g., SKIP_HEADER, COMPRESSION)

directoryTableParams attributes

Directory table configuration for change tracking (nested element):

Attribute

Type

Description

enable

Boolean

Enable directory table

autoRefresh

Boolean

Automatically refresh directory

refreshOnCreate

Boolean

Refresh immediately on creation

notificationIntegration

String

Named notification integration

loading

loading

loading

loading