REST API
Account (4)Alert (9)API Integration (8)Artifact Repository (6)Catalog Integration (7)Code Bundle (6)Code Bundle Execution (4)Compute Pool (13)Cortex Embed (1)Cortex Generic Anthropic (1)Cortex Generic OpenAI (1)Cortex Inference (2)Cortex Search Service (9)Database (18)Database Role (13)Dynamic Table (15)Event Table (8)External Volume (5)Function (8)Grant (7)Iceberg Table (19)Image Repository (8)Managed Account (3)Network Policy (7)Network Rule (4)Notebook (11)Notification Integration (7)Password Policy (8)Pipe (8)Procedure (8)Result (1)Role (14)Schema (10)Secret (4)Sequence (6)Service (16)Snowpipe Streaming (8)SQL API (3)Stage (6)Stream (8)Streamlit (16)Table (22)Tag (7)Task (16)User (11)User Defined Function (9)View (7)Warehouse (15)Not in the REST API reference (19)
Account (4)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/accounts | not supported | Accounts, users, sessions, warehouses | listAccounts | List accounts. |
| POST | ||||
POST /api/v2/accounts | not supported | Accounts, users, sessions, warehouses | createAccount | Create an account. |
POST /api/v2/accounts/{name}:undrop | not supported | Accounts, users, sessions, warehouses | UndropAccount | Restore an account. |
| DELETE | ||||
DELETE /api/v2/accounts/{name} | not supported | Accounts, users, sessions, warehouses | deleteAccount | Delete an account. |
Alert (9)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/alerts | supported | UDFs, procedures, tasks, alerts, scripting | listAlerts | List alerts |
GET /api/v2/databases/{database}/schemas/{schema}/alerts/{name} | supported | UDFs, procedures, tasks, alerts, scripting | fetchAlert | Fetch an alert |
GET /api/v2/databases/{database}/schemas/{schema}/alerts/{name}:get-tags | supported | UDFs, procedures, tasks, alerts, scripting | getTags | Get the tag assignments for an alert. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/alerts | supported | UDFs, procedures, tasks, alerts, scripting | createAlert | Create an alert |
POST /api/v2/databases/{database}/schemas/{schema}/alerts/{name}:clone | supported | UDFs, procedures, tasks, alerts, scripting | cloneAlert | Create a new alert by cloning from the specified resource |
POST /api/v2/databases/{database}/schemas/{schema}/alerts/{name}:execute | supported | UDFs, procedures, tasks, alerts, scripting | executeAlert | Execute an alert |
POST /api/v2/databases/{database}/schemas/{schema}/alerts/{name}:set-tags | supported | UDFs, procedures, tasks, alerts, scripting | setTags | Set tags on an alert. |
POST /api/v2/databases/{database}/schemas/{schema}/alerts/{name}:unset-tags | supported | UDFs, procedures, tasks, alerts, scripting | unsetTags | Unset tags from an alert. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/alerts/{name} | supported | UDFs, procedures, tasks, alerts, scripting | deleteAlert | Delete an alert |
API Integration (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/api-integrations | supported | Integrations, network & secrets | listAPIIntegrations | List API integrations |
GET /api/v2/api-integrations/{name} | supported | Integrations, network & secrets | fetchAPIIntegration | Fetch an API integration |
GET /api/v2/api-integrations/{name}:get-tags | supported | Integrations, network & secrets | getTags | Get the tag assignments for an API integration. |
| POST | ||||
POST /api/v2/api-integrations | supported | Integrations, network & secrets | createAPIIntegration | Create an API integration |
POST /api/v2/api-integrations/{name}:set-tags | supported | Integrations, network & secrets | setTags | Set tags on an API integration. |
POST /api/v2/api-integrations/{name}:unset-tags | supported | Integrations, network & secrets | unsetTags | Unset tags from an API integration. |
| PUT | ||||
PUT /api/v2/api-integrations/{name} | supported | Integrations, network & secrets | createOrAlterAPIIntegration | Create an (or alter an existing) API integration |
| DELETE | ||||
DELETE /api/v2/api-integrations/{name} | supported | Integrations, network & secrets | deleteAPIIntegration | Delete an API integration |
Artifact Repository (6)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/artifact-repositories | supported | Container services & dev tooling | listArtifactRepositories | List artifact repositories |
GET /api/v2/databases/{database}/schemas/{schema}/artifact-repositories/{name} | supported | Container services & dev tooling | fetchArtifactRepository | Fetch an artifact repository |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/artifact-repositories | supported | Container services & dev tooling | createArtifactRepository | Create an artifact repository |
POST /api/v2/databases/{database}/schemas/{schema}/artifact-repositories/{name}:rename | supported | Container services & dev tooling | renameArtifactRepository | Changes the name of an artifact repository |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{schema}/artifact-repositories/{name} | supported | Container services & dev tooling | createOrAlterArtifactRepository | Create or update an artifact repository |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/artifact-repositories/{name} | supported | Container services & dev tooling | deleteArtifactRepository | Delete an artifact repository |
Catalog Integration (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/catalog-integrations | supported | Iceberg & external tables | listCatalogIntegrations | List catalog integrations. |
GET /api/v2/catalog-integrations/{name} | supported | Iceberg & external tables | fetchCatalogIntegration | Fetch a catalog integration. |
GET /api/v2/catalog-integrations/{name}:get-tags | supported | Iceberg & external tables | getTags | Get the tag assignments for a catalog integration. |
| POST | ||||
POST /api/v2/catalog-integrations | supported | Iceberg & external tables | createCatalogIntegration | Create a catalog integration. |
POST /api/v2/catalog-integrations/{name}:set-tags | supported | Iceberg & external tables | setTags | Set tags on a catalog integration. |
POST /api/v2/catalog-integrations/{name}:unset-tags | supported | Iceberg & external tables | unsetTags | Unset tags from a catalog integration. |
| DELETE | ||||
DELETE /api/v2/catalog-integrations/{name} | supported | Iceberg & external tables | deleteCatalogIntegration | Delete a catalog integration. |
Code Bundle (6)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/code-bundles | supported | Container services & dev tooling | listCodeBundles | List code bundles |
GET /api/v2/databases/{database}/schemas/{schema}/code-bundles/{name} | supported | Container services & dev tooling | fetchCodeBundle | Fetch a code bundle |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/code-bundles | supported | Container services & dev tooling | createCodeBundle | Create a code bundle |
POST /api/v2/databases/{database}/schemas/{schema}/code-bundles/{name}:add-version | supported | Container services & dev tooling | addVersionCodeBundle | Add a version to a code bundle |
POST /api/v2/databases/{database}/schemas/{schema}/code-bundles/{name}:execute | supported | Container services & dev tooling | executeCodeBundle | Execute a code bundle |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/code-bundles/{name} | supported | Container services & dev tooling | deleteCodeBundle | Delete a code bundle |
Code Bundle Execution (4)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/code-bundle-executions | supported | Container services & dev tooling | listCodeBundleExecutions | List code bundle executions |
GET /api/v2/code-bundle-executions/{executionId} | supported | Container services & dev tooling | fetchCodeBundleExecutionStatus | Get the status of a code bundle execution |
| POST | ||||
POST /api/v2/code-bundle-executions | supported | Container services & dev tooling | executeCodeBundle | Execute a code bundle |
POST /api/v2/code-bundle-executions/{executionId}:cancel | supported | Container services & dev tooling | cancelCodeBundleExecution | Cancel a code bundle execution |
Compute Pool (13)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/compute-pools | supported | Container services & dev tooling | listComputePools | Lists compute pools. |
GET /api/v2/compute-pools/instance-families | supported | Container services & dev tooling | listComputePoolInstanceFamilies | Lists available compute pool instance families. |
GET /api/v2/compute-pools/{name} | supported | Container services & dev tooling | fetchComputePool | Fetches a compute pool. |
GET /api/v2/compute-pools/{name}:get-tags | supported | Container services & dev tooling | getTags | Get the tag assignments for a compute pool. |
| POST | ||||
POST /api/v2/compute-pools | supported | Container services & dev tooling | createComputePool | Creates a compute pool. |
POST /api/v2/compute-pools/{name}:resume | supported | Container services & dev tooling | resumeComputePool | Resumes a suspended compute pool. |
POST /api/v2/compute-pools/{name}:set-tags | supported | Container services & dev tooling | setTags | Set tags on a compute pool. |
POST /api/v2/compute-pools/{name}:stop-all-services | supported | Container services & dev tooling | stopAllServicesInComputePool | Stops all services on the compute pool. |
POST /api/v2/compute-pools/{name}:stopallservices | supported | Container services & dev tooling | stopAllServicesInComputePoolDeprecated | Stops all services on the compute pool. |
POST /api/v2/compute-pools/{name}:suspend | supported | Container services & dev tooling | suspendComputePool | Suspends an active compute pool. |
POST /api/v2/compute-pools/{name}:unset-tags | supported | Container services & dev tooling | unsetTags | Unset tags from a compute pool. |
| PUT | ||||
PUT /api/v2/compute-pools/{name} | supported | Container services & dev tooling | createOrAlterComputePool | Create a (or alter an existing) compute pool. |
| DELETE | ||||
DELETE /api/v2/compute-pools/{name} | supported | Container services & dev tooling | deleteComputePool | Deletes a compute pool. |
Cortex Embed (1)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| POST | ||||
POST /api/v2/cortex/inference:embed | not supported | AI & ML | embed | Perform LLM embed |
Cortex Generic Anthropic (1)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| POST | ||||
POST /api/v2/cortex/v1/messages | not supported | AI & ML | cortexGenericAnthropicMessages | Perform LLM text completion inference using Cortex Messages API format. |
Cortex Generic OpenAI (1)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| POST | ||||
POST /api/v2/cortex/v1/chat/completions | not supported | AI & ML | cortexGenericOpenAIChatCompletions | Perform LLM text completion inference using Cortex Chat Completions API format. |
Cortex Inference (2)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/cortex/models | not supported | AI & ML | getModels | Returns the LLMs available for the current session |
| POST | ||||
POST /api/v2/cortex/inference:complete | not supported | AI & ML | cortexLLMInferenceComplete | Perform LLM text completion inference. |
Cortex Search Service (9)
Database (18)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases | supported | Databases & schemas | listDatabases | List databases. |
GET /api/v2/databases/{name} | supported | Databases & schemas | fetchDatabase | Fetches a database. |
GET /api/v2/databases/{name}:get-tags | supported | Databases & schemas | getTags | Get the tag assignments for a database. |
| POST | ||||
POST /api/v2/databases | supported | Databases & schemas | createDatabase | Create a database. |
POST /api/v2/databases/{name}/failover:disable | supported | Databases & schemas | disableDatabaseFailover | Disable database failover. |
POST /api/v2/databases/{name}/failover:enable | supported | Databases & schemas | enableDatabaseFailover | Enable database failover. |
POST /api/v2/databases/{name}/failover:primary | supported | Databases & schemas | primaryDatabaseFailover | Set a primary database. |
POST /api/v2/databases/{name}/replication:disable | supported | Databases & schemas | disableDatabaseReplication | Disable database replication. |
POST /api/v2/databases/{name}/replication:enable | supported | Databases & schemas | enableDatabaseReplication | Enable database replication. |
POST /api/v2/databases/{name}/replication:refresh | supported | Databases & schemas | refreshDatabaseReplication | Refresh database replications. |
POST /api/v2/databases/{name}:clone | supported | Databases & schemas | cloneDatabase | Clone a database. |
POST /api/v2/databases/{name}:from_share | supported | Databases & schemas | createDatabaseFromShareDeprecated | Create a database from a share. |
POST /api/v2/databases/{name}:set-tags | supported | Databases & schemas | setTags | Set tags on a database. |
POST /api/v2/databases/{name}:undrop | supported | Databases & schemas | undropDatabase | Undrop a database. |
POST /api/v2/databases/{name}:unset-tags | supported | Databases & schemas | unsetTags | Unset tags from a database. |
POST /api/v2/databases:from-share | supported | Databases & schemas | createDatabaseFromShare | Create a database from a share. |
| PUT | ||||
PUT /api/v2/databases/{name} | supported | Databases & schemas | createOrAlterDatabase | Create a new, or alters an existing, database. |
| DELETE | ||||
DELETE /api/v2/databases/{name} | supported | Databases & schemas | deleteDatabase | Delete a database. |
Database Role (13)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/database-roles | supported | Access control (grants, roles) | listDatabaseRoles | List database roles |
GET /api/v2/databases/{database}/database-roles/{name}/future-grants | supported | Access control (grants, roles) | listFutureGrants | List all future grants to the role |
GET /api/v2/databases/{database}/database-roles/{name}/grants | supported | Access control (grants, roles) | listGrants | List all grants to the role |
GET /api/v2/databases/{database}/database-roles/{name}:get-tags | supported | Access control (grants, roles) | getTags | Get the tag assignments for a database role. |
| POST | ||||
POST /api/v2/databases/{database}/database-roles | supported | Access control (grants, roles) | createDatabaseRole | Create a database role |
POST /api/v2/databases/{database}/database-roles/{name}/future-grants | supported | Access control (grants, roles) | grantFuturePrivileges | Grant future privileges to the role |
POST /api/v2/databases/{database}/database-roles/{name}/future-grants:revoke | supported | Access control (grants, roles) | revokeFutureGrants | Revoke future grants from the role |
POST /api/v2/databases/{database}/database-roles/{name}/grants | supported | Access control (grants, roles) | grantPrivileges | Grant privileges to the role |
POST /api/v2/databases/{database}/database-roles/{name}/grants:revoke | supported | Access control (grants, roles) | revokeGrants | Revoke grants from the role |
POST /api/v2/databases/{database}/database-roles/{name}:clone | supported | Access control (grants, roles) | cloneDatabaseRole | Create a new database role by cloning from the specified resource |
POST /api/v2/databases/{database}/database-roles/{name}:set-tags | supported | Access control (grants, roles) | setTags | Set tags on a database role. |
POST /api/v2/databases/{database}/database-roles/{name}:unset-tags | supported | Access control (grants, roles) | unsetTags | Unset tags from a database role. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/database-roles/{name} | supported | Access control (grants, roles) | deleteDatabaseRole | Delete a database role |
Dynamic Table (15)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/dynamic-tables | supported | Tables, views, streams, sequences | listDynamicTables | List dynamic tables |
GET /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name} | supported | Tables, views, streams, sequences | fetchDynamicTable | Fetch a dynamic table. |
GET /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:get-tags | supported | Tables, views, streams, sequences | getTags | Get the tag assignments for a dynamic table. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables | supported | Tables, views, streams, sequences | createDynamicTable | Create a dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:clone | supported | Tables, views, streams, sequences | cloneDynamicTable | Clone dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:refresh | supported | Tables, views, streams, sequences | refreshDynamicTable | Refresh the dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:resume | supported | Tables, views, streams, sequences | resumeDynamicTable | Resume refreshes on the dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:resume-recluster | supported | Tables, views, streams, sequences | resumeReclusterDynamicTable | Resume recluster of a dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:set-tags | supported | Tables, views, streams, sequences | setTags | Set tags on a dynamic table. |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:suspend | supported | Tables, views, streams, sequences | suspendDynamicTable | Suspend refreshes on the dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:suspend-recluster | supported | Tables, views, streams, sequences | suspendReclusterDynamicTable | Suspend recluster of a dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:swap-with | supported | Tables, views, streams, sequences | swapWithDynamicTable | Swap with another dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:undrop | supported | Tables, views, streams, sequences | undropDynamicTable | Undrop a dynamic table |
POST /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name}:unset-tags | supported | Tables, views, streams, sequences | unsetTags | Unset tags from a dynamic table. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/dynamic-tables/{name} | supported | Tables, views, streams, sequences | deleteDynamicTable | Delete a dynamic table |
Event Table (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/event-tables | supported | Tables, views, streams, sequences | listEventTables | List event tables |
GET /api/v2/databases/{database}/schemas/{schema}/event-tables/{name} | supported | Tables, views, streams, sequences | fetchEventTable | Fetch an event table |
GET /api/v2/databases/{database}/schemas/{schema}/event-tables/{name}:get-tags | supported | Tables, views, streams, sequences | getTags | Get the tag assignments for an event table. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/event-tables | supported | Tables, views, streams, sequences | createEventTable | Create an event table |
POST /api/v2/databases/{database}/schemas/{schema}/event-tables/{name}:rename | supported | Tables, views, streams, sequences | renameEventTable | Rename the event table |
POST /api/v2/databases/{database}/schemas/{schema}/event-tables/{name}:set-tags | supported | Tables, views, streams, sequences | setTags | Set tags on an event table. |
POST /api/v2/databases/{database}/schemas/{schema}/event-tables/{name}:unset-tags | supported | Tables, views, streams, sequences | unsetTags | Unset tags from an event table. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/event-tables/{name} | supported | Tables, views, streams, sequences | deleteEventTable | Delete an event table |
External Volume (5)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/external-volumes | supported | Iceberg & external tables | listExternalVolumes | List external volumes |
GET /api/v2/external-volumes/{name} | supported | Iceberg & external tables | fetchExternalVolume | Fetch an external volume |
| POST | ||||
POST /api/v2/external-volumes | supported | Iceberg & external tables | createExternalVolume | Create an external volume |
POST /api/v2/external-volumes/{name}:undrop | supported | Iceberg & external tables | undropExternalVolume | Undrop an external volume |
| DELETE | ||||
DELETE /api/v2/external-volumes/{name} | supported | Iceberg & external tables | deleteExternalVolume | Delete an external volume |
Function (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/functions | supported | UDFs, procedures, tasks, alerts, scripting | listFunctions | List service functions. |
GET /api/v2/databases/{database}/schemas/{schema}/functions/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | fetchFunction | Fetch a service function. |
GET /api/v2/databases/{database}/schemas/{schema}/functions/{nameWithArgs}:get-tags | supported | UDFs, procedures, tasks, alerts, scripting | getTags | Get the tag assignments for a service function. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/functions | supported | UDFs, procedures, tasks, alerts, scripting | createFunction | Create a service function. |
POST /api/v2/databases/{database}/schemas/{schema}/functions/{nameWithArgs}:set-tags | supported | UDFs, procedures, tasks, alerts, scripting | setTags | Set tags on a service function. |
POST /api/v2/databases/{database}/schemas/{schema}/functions/{nameWithArgs}:unset-tags | supported | UDFs, procedures, tasks, alerts, scripting | unsetTags | Unset tags from a service function. |
POST /api/v2/databases/{database}/schemas/{schema}/functions/{name}:execute | supported | UDFs, procedures, tasks, alerts, scripting | executeFunction | Execute a service function. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/functions/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | deleteFunction | Delete a service function. |
Grant (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/grants/{granteeType}/{granteeName} | supported | Access control (grants, roles) | listGrantsTo | List of privileges associated with this grantee type and name |
| POST | ||||
POST /api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges | supported | Access control (grants, roles) | grantGroupPrivilege | Grant the specified privilege(s) on all/future (as specified by bulkGrantType) securables of this type in a given scope to the named grantee. |
POST /api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges | supported | Access control (grants, roles) | grantPrivilege | Grant the specified privilege(s) on the named securable to the named grantee. |
| DELETE | ||||
DELETE /api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges/{privilege} | supported | Access control (grants, roles) | revokeGroupPrivilege | Revoke the specified privilege on the specified all/future securable in the given scope from the named grantee. |
DELETE /api/v2/grants/{granteeType}/{granteeName}/{bulkGrantType}/{securableTypePlural}/{scopeType}/{scopeName}/privileges/{privilege}/grant-option | supported | Access control (grants, roles) | revokeGroupPrivilegeGrantOption | Revoke the grant option for the specified privilege on the specified all/future securable in the given scope from the named grantee. |
DELETE /api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges/{privilege} | supported | Access control (grants, roles) | revokePrivilege | Revoke the specified privilege on the named securable from the named grantee. |
DELETE /api/v2/grants/{granteeType}/{granteeName}/{securableType}/{securableName}/privileges/{privilege}/grant-option | supported | Access control (grants, roles) | revokePrivilegeGrantOption | Revoke the grant option for the specified privilege on the named securable from the named grantee. |
Iceberg Table (19)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/iceberg-tables | supported | Iceberg & external tables | listIcebergTables | List iceberg tables |
GET /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name} | supported | Iceberg & external tables | fetchIcebergTable | Describe iceberg table |
GET /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:get-tags | supported | Iceberg & external tables | getTags | Get the tag assignments for an Iceberg table. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables | supported | Iceberg & external tables | createSnowflakeManagedIcebergTable | Create a snowflake managed iceberg table (clone and undrop are separate subresources) |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:clone | supported | Iceberg & external tables | cloneSnowflakeManagedIcebergTable | Clone a snowflake managed iceberg table |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:convert-to-managed | not supported | Iceberg & external tables | convertToManagedIcebergTable | Converts an Apache Iceberg™ table that uses an external Iceberg catalog into a table that uses Snowflake as the catalog |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:create-like | supported | Iceberg & external tables | createSnowflakeManagedIcebergTableLike | Create iceberg table like |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:refresh | supported | Iceberg & external tables | refreshIcebergTable | Refreshes the metadata for an Apache Iceberg table that uses an external Iceberg catalog |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:resume-recluster | supported | Iceberg & external tables | resumeReclusterIcebergTable | Resume recluster of an iceberg table |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:set-tags | supported | Iceberg & external tables | setTags | Set tags on an Iceberg table. |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:suspend-recluster | supported | Iceberg & external tables | suspendReclusterIcebergTable | Suspend recluster of an iceberg table |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:undrop | supported | Iceberg & external tables | undropIcebergTable | Undrop iceberg table |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name}:unset-tags | supported | Iceberg & external tables | unsetTags | Unset tags from an Iceberg table. |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables:as-select | supported | Iceberg & external tables | createSnowflakeManagedIcebergTableAsSelect | Create a snowflake managed iceberg table as select |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables:from-aws-glue-catalog | supported | Iceberg & external tables | createUnmanagedIcebergTableFromAWSGlueCatalog | Create an unmanaged iceberg table from AWS Glue catalog |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables:from-delta | supported | Iceberg & external tables | createUnmanagedIcebergTableFromDelta | Create an unmanaged iceberg table from Delta |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables:from-iceberg-files | supported | Iceberg & external tables | createUnmanagedIcebergTableFromIcebergFiles | Create an unmanaged iceberg table from Iceberg files |
POST /api/v2/databases/{database}/schemas/{schema}/iceberg-tables:from-iceberg-rest | supported | Iceberg & external tables | createUnmanagedIcebergTableFromIcebergRest | Create an unmanaged iceberg table from Iceberg REST |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/iceberg-tables/{name} | supported | Iceberg & external tables | dropIcebergTable | Drop iceberg table |
Image Repository (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/image-repositories | supported | Container services & dev tooling | listImageRepositories | Lists image repositories. |
GET /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name} | supported | Container services & dev tooling | fetchImageRepository | Fetches an image repository. |
GET /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name}/images | supported | Container services & dev tooling | listImagesInRepository | List images in the image repository. |
GET /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name}:get-tags | supported | Container services & dev tooling | getTags | Get the tag assignments for an image repository. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/image-repositories | supported | Container services & dev tooling | createImageRepository | Creates an image repository in the specified database and schema. |
POST /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name}:set-tags | supported | Container services & dev tooling | setTags | Set tags on an image repository. |
POST /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name}:unset-tags | supported | Container services & dev tooling | unsetTags | Unset tags from an image repository. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name} | supported | Container services & dev tooling | deleteImageRepository | Deletes an image repository. |
Managed Account (3)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/managed-accounts | supported | Native apps, listings & sharing | listManagedAccounts | List managed accounts. |
| POST | ||||
POST /api/v2/managed-accounts | supported | Native apps, listings & sharing | createManagedAccount | Create a managed accounts. |
| DELETE | ||||
DELETE /api/v2/managed-accounts/{name} | supported | Native apps, listings & sharing | deleteManagedAccount | Delete a managed account. |
Network Policy (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/network-policies | supported | Integrations, network & secrets | listNetworkPolicies | List network policies |
GET /api/v2/network-policies/{name} | supported | Integrations, network & secrets | fetchNetworkPolicy | Fetch a network policy |
GET /api/v2/network-policies/{name}:get-tags | supported | Integrations, network & secrets | getTags | Get the tag assignments for a network policy. |
| POST | ||||
POST /api/v2/network-policies | supported | Integrations, network & secrets | createNetworkPolicy | Create a network policy |
POST /api/v2/network-policies/{name}:set-tags | supported | Integrations, network & secrets | setTags | Set tags on a network policy. |
POST /api/v2/network-policies/{name}:unset-tags | supported | Integrations, network & secrets | unsetTags | Unset tags from a network policy. |
| DELETE | ||||
DELETE /api/v2/network-policies/{name} | supported | Integrations, network & secrets | deleteNetworkPolicy | Delete a network policy |
Network Rule (4)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/network-rules | supported | Integrations, network & secrets | listNetworkRules | List network rules |
GET /api/v2/databases/{database}/schemas/{schema}/network-rules/{name} | supported | Integrations, network & secrets | fetchNetworkRule | Fetch a network rule |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/network-rules | supported | Integrations, network & secrets | createNetworkRule | Create a network rule |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/network-rules/{name} | supported | Integrations, network & secrets | deleteNetworkRule | Delete a network rule |
Notebook (11)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/notebooks | supported | Container services & dev tooling | listNotebooks | List notebooks |
GET /api/v2/databases/{database}/schemas/{schema}/notebooks/{name} | supported | Container services & dev tooling | fetchNotebook | Fetch a notebook |
GET /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:get-tags | supported | Container services & dev tooling | getTags | Get the tag assignments for a notebook. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/notebooks | supported | Container services & dev tooling | createNotebook | Create a notebook |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:add-live-version | supported | Container services & dev tooling | addLiveVersionNotebook | Adds a LIVE version to the notebook |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:commit | supported | Container services & dev tooling | commitNotebook | Commits the LIVE version of the notebook |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:execute | supported | Container services & dev tooling | executeNotebook | Execute a Notebook |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:rename | supported | Container services & dev tooling | renameNotebook | Changes the name of the notebook to new name. |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:set-tags | supported | Container services & dev tooling | setTags | Set tags on a notebook. |
POST /api/v2/databases/{database}/schemas/{schema}/notebooks/{name}:unset-tags | supported | Container services & dev tooling | unsetTags | Unset tags from a notebook. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/notebooks/{name} | supported | Container services & dev tooling | deleteNotebook | Delete a notebook |
Notification Integration (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/notification-integrations | supported | Integrations, network & secrets | listNotificationIntegrations | List notification integrations |
GET /api/v2/notification-integrations/{name} | supported | Integrations, network & secrets | fetchNotificationIntegration | Fetch a notification integration |
GET /api/v2/notification-integrations/{name}:get-tags | supported | Integrations, network & secrets | getTags | Get the tag assignments for a notification integration. |
| POST | ||||
POST /api/v2/notification-integrations | supported | Integrations, network & secrets | createNotificationIntegration | Create a notification integration |
POST /api/v2/notification-integrations/{name}:set-tags | supported | Integrations, network & secrets | setTags | Set tags on a notification integration. |
POST /api/v2/notification-integrations/{name}:unset-tags | supported | Integrations, network & secrets | unsetTags | Unset tags from a notification integration. |
| DELETE | ||||
DELETE /api/v2/notification-integrations/{name} | supported | Integrations, network & secrets | deleteNotificationIntegration | Delete a notification integration |
Password Policy (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/password-policies | supported | Governance (policies, tags, data quality) | listPasswordPolicies | List password policies |
GET /api/v2/databases/{database}/schemas/{schema}/password-policies/{name} | supported | Governance (policies, tags, data quality) | fetchPasswordPolicy | Fetch a password policy |
GET /api/v2/databases/{database}/schemas/{schema}/password-policies/{name}:get-tags | supported | Governance (policies, tags, data quality) | getTags | Get the tag assignments for a password policy. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/password-policies | supported | Governance (policies, tags, data quality) | createPasswordPolicy | Create a password policy |
POST /api/v2/databases/{database}/schemas/{schema}/password-policies/{name}:rename | supported | Governance (policies, tags, data quality) | renamePasswordPolicy | Rename a password policy with a new identifier |
POST /api/v2/databases/{database}/schemas/{schema}/password-policies/{name}:set-tags | supported | Governance (policies, tags, data quality) | setTags | Set tags on a password policy. |
POST /api/v2/databases/{database}/schemas/{schema}/password-policies/{name}:unset-tags | supported | Governance (policies, tags, data quality) | unsetTags | Unset tags from a password policy. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/password-policies/{name} | supported | Governance (policies, tags, data quality) | deletePasswordPolicy | Delete a password policy |
Pipe (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/pipes | supported | Data loading & unloading | listPipes | List pipes |
GET /api/v2/databases/{database}/schemas/{schema}/pipes/{name} | supported | Data loading & unloading | fetchPipe | Fetch a pipe |
GET /api/v2/databases/{database}/schemas/{schema}/pipes/{name}:get-tags | supported | Data loading & unloading | getTags | Get the tag assignments for a pipe. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/pipes | supported | Data loading & unloading | createPipe | Create a pipe |
POST /api/v2/databases/{database}/schemas/{schema}/pipes/{name}:refresh | supported | Data loading & unloading | refreshPipe | Refresh the pipe |
POST /api/v2/databases/{database}/schemas/{schema}/pipes/{name}:set-tags | supported | Data loading & unloading | setTags | Set tags on a pipe. |
POST /api/v2/databases/{database}/schemas/{schema}/pipes/{name}:unset-tags | supported | Data loading & unloading | unsetTags | Unset tags from a pipe. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/pipes/{name} | supported | Data loading & unloading | deletePipe | Delete a pipe |
Procedure (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/procedures | supported | UDFs, procedures, tasks, alerts, scripting | listProcedures | List procedures |
GET /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | fetchProcedure | Fetch a procedure |
GET /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs}:get-tags | supported | UDFs, procedures, tasks, alerts, scripting | getTags | Get the tag assignments for a procedure. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/procedures | supported | UDFs, procedures, tasks, alerts, scripting | createProcedure | Create a procedure |
POST /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs}:call | supported | UDFs, procedures, tasks, alerts, scripting | callProcedure | Call a procedure |
POST /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs}:set-tags | supported | UDFs, procedures, tasks, alerts, scripting | setTags | Set tags on a procedure. |
POST /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs}:unset-tags | supported | UDFs, procedures, tasks, alerts, scripting | unsetTags | Unset tags from a procedure. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/procedures/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | deleteProcedure | Delete a procedure |
Result (1)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/results/{result_handler} | not supported | Queries & DML | fetchResult | Check result status or fetch request |
Role (14)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/roles | supported | Access control (grants, roles) | listRoles | List roles |
GET /api/v2/roles/{name}/future-grants | supported | Access control (grants, roles) | listFutureGrants | List all future grants to the role |
GET /api/v2/roles/{name}/grants | supported | Access control (grants, roles) | listGrants | List all grants to the role |
GET /api/v2/roles/{name}/grants-of | supported | Access control (grants, roles) | listGrantsOf | List all grants of the role |
GET /api/v2/roles/{name}/grants-on | supported | Access control (grants, roles) | listGrantsOn | List all grants on the role |
GET /api/v2/roles/{name}:get-tags | supported | Access control (grants, roles) | getTags | Get the tag assignments for a role. |
| POST | ||||
POST /api/v2/roles | supported | Access control (grants, roles) | createRole | Create a role |
POST /api/v2/roles/{name}/future-grants | supported | Access control (grants, roles) | grantFuturePrivileges | Grant future privileges to the role |
POST /api/v2/roles/{name}/future-grants:revoke | supported | Access control (grants, roles) | revokeFutureGrants | Revoke future grants from the role |
POST /api/v2/roles/{name}/grants | supported | Access control (grants, roles) | grantPrivileges | Grant privileges to the role |
POST /api/v2/roles/{name}/grants:revoke | supported | Access control (grants, roles) | revokeGrants | Revoke grants from the role |
POST /api/v2/roles/{name}:set-tags | supported | Access control (grants, roles) | setTags | Set tags on a role. |
POST /api/v2/roles/{name}:unset-tags | supported | Access control (grants, roles) | unsetTags | Unset tags from a role. |
| DELETE | ||||
DELETE /api/v2/roles/{name} | supported | Access control (grants, roles) | deleteRole | Delete a role |
Schema (10)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas | supported | Databases & schemas | listSchemas | List schemas. |
GET /api/v2/databases/{database}/schemas/{name} | supported | Databases & schemas | fetchSchema | Fetches a schema. |
GET /api/v2/databases/{database}/schemas/{name}:get-tags | supported | Databases & schemas | getTags | Get the tag assignments for a schema. |
| POST | ||||
POST /api/v2/databases/{database}/schemas | supported | Databases & schemas | createSchema | Create a schema. |
POST /api/v2/databases/{database}/schemas/{name}:clone | supported | Databases & schemas | cloneSchema | Clone a schema. |
POST /api/v2/databases/{database}/schemas/{name}:set-tags | supported | Databases & schemas | setTags | Set tags on a schema. |
POST /api/v2/databases/{database}/schemas/{name}:undrop | supported | Databases & schemas | undropSchema | Undrop a schema. |
POST /api/v2/databases/{database}/schemas/{name}:unset-tags | supported | Databases & schemas | unsetTags | Unset tags from a schema. |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{name} | supported | Databases & schemas | createOrAlterSchema | Create a new, or alters an existing, schema. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{name} | supported | Databases & schemas | deleteSchema | Delete a schema. |
Secret (4)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/secrets | supported | Integrations, network & secrets | listSecrets | List secrets |
GET /api/v2/databases/{database}/schemas/{schema}/secrets/{name} | supported | Integrations, network & secrets | fetchSecret | Fetch a secret |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/secrets | supported | Integrations, network & secrets | createSecret | Create a secret |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/secrets/{name} | supported | Integrations, network & secrets | deleteSecret | Delete a secret |
Sequence (6)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/sequences | supported | Tables, views, streams, sequences | listSequences | List sequences |
GET /api/v2/databases/{database}/schemas/{schema}/sequences/{name} | supported | Tables, views, streams, sequences | fetchSequence | Fetch a sequence |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/sequences | supported | Tables, views, streams, sequences | createSequence | Create a sequence |
POST /api/v2/databases/{database}/schemas/{schema}/sequences/{name}:clone | supported | Tables, views, streams, sequences | cloneSequence | Create a new sequence by cloning from the specified resource |
POST /api/v2/databases/{database}/schemas/{schema}/sequences/{name}:rename | supported | Tables, views, streams, sequences | renameSequence | Rename a sequence with a new identifier |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/sequences/{name} | supported | Tables, views, streams, sequences | deleteSequence | Delete a sequence |
Service (16)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/services | supported | Container services & dev tooling | listServices | List services |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name} | supported | Container services & dev tooling | fetchService | Fetch a service. |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/containers | supported | Container services & dev tooling | listServiceContainers | List all the containers of the service |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/endpoints | not supported | Container services & dev tooling | showServiceEndpoints | List the endpoints in a service. |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/instances | supported | Container services & dev tooling | listServiceInstances | List all the instances of the service |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/logs | not supported | Container services & dev tooling | fetchServiceLogs | Fetch the logs for a given service. |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/roles | supported | Container services & dev tooling | listServiceRoles | List all the service roles of the service |
GET /api/v2/databases/{database}/schemas/{schema}/services/{name}/status | not supported | Container services & dev tooling | fetchServiceStatus | Fetch the status for a given service. Deprecated - use listServiceContainers instead. |
GET /api/v2/databases/{database}/schemas/{schema}/services/{service}/roles/{name}/grants | supported | Container services & dev tooling | listServiceRoleGrantsTo | List all the grants given to the service role |
GET /api/v2/databases/{database}/schemas/{schema}/services/{service}/roles/{name}/grants-of | supported | Container services & dev tooling | listServiceRoleGrantsOf | List all the grants of the service role |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/services | supported | Container services & dev tooling | createService | Create a service |
POST /api/v2/databases/{database}/schemas/{schema}/services/{name}:resume | supported | Container services & dev tooling | resumeService | Resume a service. |
POST /api/v2/databases/{database}/schemas/{schema}/services/{name}:suspend | supported | Container services & dev tooling | suspendService | Suspend a service. |
POST /api/v2/databases/{database}/schemas/{schema}/services:execute-job | supported | Container services & dev tooling | executeJobService | Execute a job service |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{schema}/services/{name} | supported | Container services & dev tooling | createOrAlterService | Create a (or alter an existing) service. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/services/{name} | supported | Container services & dev tooling | deleteService | Delete a service |
Snowpipe Streaming (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /v2/streaming/hostname | supported | Data loading & unloading | | The Get Hostname returns the hostname used to interact with the Snowpipe Streaming REST API. Each account has a unique hostname. |
| POST | ||||
POST /oauth/token | supported | Data loading & unloading | | The Exchange Scoped Token returns a security token that can be used to access only the Snowpipe Streaming API-related service. This provides security… |
POST /v2/streaming/data/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/ELASTIC/rows | not supported | Data loading & unloading | | Elastic Channels don’t require a separate open-channel operation. Send a batch of NDJSON rows directly to a table or to the implicit ELASTIC channel of a pipe: |
POST /v2/streaming/data/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/{channelName}/rows | not supported | Data loading & unloading | | The Append Rows operation inserts a batch of rows to the given channel. |
POST /v2/streaming/data/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/rows | supported | Data loading & unloading | | Elastic Channels don’t require a separate open-channel operation. Send a batch of NDJSON rows directly to a table or to the implicit ELASTIC channel of a pipe: |
POST /v2/streaming/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}:bulk-channel-status | not supported | Data loading & unloading | | The Bulk Get Channel Status operation returns the status of a channel for a specific client sequencer. |
| PUT | ||||
PUT /v2/streaming/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/{channelName} | not supported | Data loading & unloading | | The Open Channel operation creates or opens a new channel against a pipe or table. If the channel already exists, Snowflake bumps the client sequencer of the… |
| DELETE | ||||
DELETE /v2/streaming/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/{channelName} | not supported | Data loading & unloading | | The Drop Channel operation drops a Named Channel and its metadata on the server. Set fail_on_uncommitted_rows to true to reject the drop when uncommitted rows… |
SQL API (3)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/statements/{statementHandle} | supported | Queries & DML | GetStatementStatus | Checks the status of the execution of a statement |
| POST | ||||
POST /api/v2/statements | supported | Queries & DML | SubmitStatement | Submits a SQL statement for execution. |
POST /api/v2/statements/{statementHandle}/cancel | supported | Queries & DML | CancelStatement | Cancels the execution of a statement. |
Stage (6)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/stages | supported | Data loading & unloading | listStages | List stages |
GET /api/v2/databases/{database}/schemas/{schema}/stages/{name} | supported | Data loading & unloading | fetchStage | Fetch a stage |
GET /api/v2/databases/{database}/schemas/{schema}/stages/{name}/files | supported | Data loading & unloading | listFiles | List files in the stage. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/stages | supported | Data loading & unloading | createStage | Create a stage |
POST /api/v2/databases/{database}/schemas/{schema}/stages/{name}/files/{filePath}:presigned-url | supported | Data loading & unloading | getPresignedUrl | Generate a presigned url and optionally encryption materials. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/stages/{name} | supported | Data loading & unloading | deleteStage | Delete a stage |
Stream (8)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/streams | supported | Tables, views, streams, sequences | listStreams | List streams |
GET /api/v2/databases/{database}/schemas/{schema}/streams/{name} | supported | Tables, views, streams, sequences | fetchStream | Fetch a stream |
GET /api/v2/databases/{database}/schemas/{schema}/streams/{name}:get-tags | supported | Tables, views, streams, sequences | getTags | Get the tag assignments for a stream. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/streams | supported | Tables, views, streams, sequences | createStream | Create a stream |
POST /api/v2/databases/{database}/schemas/{schema}/streams/{name}:clone | supported | Tables, views, streams, sequences | cloneStream | Clone a stream |
POST /api/v2/databases/{database}/schemas/{schema}/streams/{name}:set-tags | supported | Tables, views, streams, sequences | setTags | Set tags on a stream. |
POST /api/v2/databases/{database}/schemas/{schema}/streams/{name}:unset-tags | supported | Tables, views, streams, sequences | unsetTags | Unset tags from a stream. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/streams/{name} | supported | Tables, views, streams, sequences | deleteStream | Delete a stream |
Streamlit (16)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/streamlits | supported | Container services & dev tooling | listStreamlits | List Streamlits |
GET /api/v2/databases/{database}/schemas/{schema}/streamlits/{name} | supported | Container services & dev tooling | fetchStreamlit | Fetch a Streamlit |
GET /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:get-tags | supported | Container services & dev tooling | getTags | Get the tag assignments for a Streamlit. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/streamlits | supported | Container services & dev tooling | createStreamlit | Create a Streamlit |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:abort | supported | Container services & dev tooling | abortStreamlit | Abort live version |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:add-live-version | supported | Container services & dev tooling | addLiveVersionStreamlit | Add live version |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:add-version | supported | Container services & dev tooling | addVersionStreamlit | Add version from source |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:add-version-from-git | supported | Container services & dev tooling | addVersionFromGitStreamlit | Add version from Git |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:commit | supported | Container services & dev tooling | commitStreamlit | Commit live version |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:pull | not supported | Container services & dev tooling | pullStreamlit | Pull from Git |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:push | not supported | Container services & dev tooling | pushStreamlit | Push to Git |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:rename | supported | Container services & dev tooling | renameStreamlit | Rename a Streamlit |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:set-tags | supported | Container services & dev tooling | setTags | Set tags on a Streamlit. |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:undrop | supported | Container services & dev tooling | undropStreamlit | Undrop a Streamlit |
POST /api/v2/databases/{database}/schemas/{schema}/streamlits/{name}:unset-tags | supported | Container services & dev tooling | unsetTags | Unset tags from a Streamlit. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/streamlits/{name} | supported | Container services & dev tooling | deleteStreamlit | Delete a Streamlit |
Table (22)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/tables | supported | Tables, views, streams, sequences | listTables | List tables |
GET /api/v2/databases/{database}/schemas/{schema}/tables/{name} | supported | Tables, views, streams, sequences | fetchTable | Fetch a table. |
GET /api/v2/databases/{database}/schemas/{schema}/tables/{name}:get-tags | supported | Tables, views, streams, sequences | getTags | Get the tag assignments for a table. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/tables | supported | Tables, views, streams, sequences | createTable | Create a table (clone and undrop are separate subresources) |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:as_select | supported | Tables, views, streams, sequences | createTableAsSelectDeprecated | Create a table using the result of the specified select query |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:clone | supported | Tables, views, streams, sequences | cloneTable | Clone table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:create-like | supported | Tables, views, streams, sequences | createTableLike | Create a table like this existing one |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:create_like | supported | Tables, views, streams, sequences | createTableLikeDeprecated | Create a table like this existing one |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:resume-recluster | supported | Tables, views, streams, sequences | resumeReclusterTable | Resume recluster of a table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:resume_recluster | supported | Tables, views, streams, sequences | resumeReclusterTableDeprecated | Resume recluster of a table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:set-tags | supported | Tables, views, streams, sequences | setTags | Set tags on a table. |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:suspend-recluster | supported | Tables, views, streams, sequences | suspendReclusterTable | Suspend recluster of a table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:suspend_recluster | supported | Tables, views, streams, sequences | suspendReclusterTableDeprecated | Suspend recluster of a table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:swap-with | supported | Tables, views, streams, sequences | swapWithTable | Swap with another table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:swapwith | supported | Tables, views, streams, sequences | swapWithTableDeprecated | Swap with another table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:undrop | supported | Tables, views, streams, sequences | undropTable | Undrop a table |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:unset-tags | supported | Tables, views, streams, sequences | unsetTags | Unset tags from a table. |
POST /api/v2/databases/{database}/schemas/{schema}/tables/{name}:using_template | supported | Tables, views, streams, sequences | createTableUsingTemplateDeprecated | Create a table using the templates specified in staged files |
POST /api/v2/databases/{database}/schemas/{schema}/tables:as-select | supported | Tables, views, streams, sequences | createTableAsSelect | Create a table using the result of the specified select query |
POST /api/v2/databases/{database}/schemas/{schema}/tables:using-template | supported | Tables, views, streams, sequences | createTableUsingTemplate | Create a table using the templates specified in staged files |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{schema}/tables/{name} | supported | Tables, views, streams, sequences | createOrAlterTable | Create a (or alter an existing) table. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/tables/{name} | supported | Tables, views, streams, sequences | deleteTable | Delete a table |
Tag (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/tags | supported | Governance (policies, tags, data quality) | listTags | List tags |
GET /api/v2/databases/{database}/schemas/{schema}/tags/{name} | supported | Governance (policies, tags, data quality) | fetchTag | Fetch a tag |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/tags | supported | Governance (policies, tags, data quality) | createTag | Create a tag |
POST /api/v2/databases/{database}/schemas/{schema}/tags/{name}:rename | supported | Governance (policies, tags, data quality) | renameTag | Rename a tag with a new identifier |
POST /api/v2/databases/{database}/schemas/{schema}/tags/{name}:undrop | supported | Governance (policies, tags, data quality) | undropTag | Undrop a tag |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{schema}/tags/{name} | supported | Governance (policies, tags, data quality) | createOrAlterTag | Create or update a tag |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/tags/{name} | supported | Governance (policies, tags, data quality) | deleteTag | Delete a tag |
Task (16)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/tasks | supported | UDFs, procedures, tasks, alerts, scripting | listTasks | List tasks |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name} | supported | UDFs, procedures, tasks, alerts, scripting | fetchTask | Fetch a task |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/complete-graphs | supported | UDFs, procedures, tasks, alerts, scripting | getCompleteGraphs | Get the graph runs that are completed for the task. |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/complete_graphs | supported | UDFs, procedures, tasks, alerts, scripting | getCompleteGraphsDeprecated | Get the graph runs that are completed for the task. |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/current-graphs | supported | UDFs, procedures, tasks, alerts, scripting | getCurrentGraphs | Get the graph runs that are executing or scheduled for the task for the next 8 days. |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/current_graphs | supported | UDFs, procedures, tasks, alerts, scripting | getCurrentGraphsDeprecated | Get the graph runs that are executing or scheduled for the task for the next 8 days. |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/dependents | supported | UDFs, procedures, tasks, alerts, scripting | fetchTaskDependents | Fetch the dependent tasks of a task |
GET /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:get-tags | supported | UDFs, procedures, tasks, alerts, scripting | getTags | Get the tag assignments for the task. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/tasks | supported | UDFs, procedures, tasks, alerts, scripting | createTask | Create a task |
POST /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:execute | supported | UDFs, procedures, tasks, alerts, scripting | executeTask | Execute a task object. |
POST /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:resume | supported | UDFs, procedures, tasks, alerts, scripting | resumeTask | Resume a suspended task. |
POST /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:set-tags | supported | UDFs, procedures, tasks, alerts, scripting | setTags | Set tags on an existing task. |
POST /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:suspend | supported | UDFs, procedures, tasks, alerts, scripting | suspendTask | Suspend a running task. |
POST /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:unset-tags | supported | UDFs, procedures, tasks, alerts, scripting | unsetTags | Unset tags from an existing task. |
| PUT | ||||
PUT /api/v2/databases/{database}/schemas/{schema}/tasks/{name} | supported | UDFs, procedures, tasks, alerts, scripting | createOrAlterTask | Create a (or alter an existing) task |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/tasks/{name} | supported | UDFs, procedures, tasks, alerts, scripting | deleteTask | Delete a task |
User (11)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/users | supported | Accounts, users, sessions, warehouses | listUsers | List users in the system. |
GET /api/v2/users/{name} | supported | Accounts, users, sessions, warehouses | fetchUser | Fetch information about a user |
GET /api/v2/users/{name}/grants | supported | Accounts, users, sessions, warehouses | listGrants | List all grants to the user |
GET /api/v2/users/{name}:get-tags | supported | Accounts, users, sessions, warehouses | getTags | Get the tag assignments for a user. |
| POST | ||||
POST /api/v2/users | supported | Accounts, users, sessions, warehouses | createUser | Create a user |
POST /api/v2/users/{name}/grants | supported | Accounts, users, sessions, warehouses | grant | Grant a role to the user |
POST /api/v2/users/{name}/grants:revoke | supported | Accounts, users, sessions, warehouses | revokeGrants | Revoke grants from the user |
POST /api/v2/users/{name}:set-tags | supported | Accounts, users, sessions, warehouses | setTags | Set tags on a user. |
POST /api/v2/users/{name}:unset-tags | supported | Accounts, users, sessions, warehouses | unsetTags | Unset tags from a user. |
| PUT | ||||
PUT /api/v2/users/{name} | supported | Accounts, users, sessions, warehouses | createOrAlterUser | Create a (or alter an existing) user. |
| DELETE | ||||
DELETE /api/v2/users/{name} | supported | Accounts, users, sessions, warehouses | deleteUser | Delete a user |
User Defined Function (9)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/user-defined-functions | supported | UDFs, procedures, tasks, alerts, scripting | listUserDefinedFunctions | List UDFs |
GET /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | fetchUserDefinedFunction | Fetch a UDF |
GET /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs}:get-tags | supported | UDFs, procedures, tasks, alerts, scripting | getTags | Get the tag assignments for a user-defined function. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/user-defined-functions | supported | UDFs, procedures, tasks, alerts, scripting | createUserDefinedFunction | Create a UDF |
POST /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs}:rename | supported | UDFs, procedures, tasks, alerts, scripting | renameUserDefinedFunction | Rename a UDF |
POST /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs}:set-tags | supported | UDFs, procedures, tasks, alerts, scripting | setTags | Set tags on a user-defined function. |
POST /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs}:unset-tags | supported | UDFs, procedures, tasks, alerts, scripting | unsetTags | Unset tags from a user-defined function. |
POST /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{name}:execute | supported | UDFs, procedures, tasks, alerts, scripting | executeUserDefinedFunction | Execute a UDF. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/user-defined-functions/{nameWithArgs} | supported | UDFs, procedures, tasks, alerts, scripting | deleteUserDefinedFunction | Delete a UDF |
View (7)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/databases/{database}/schemas/{schema}/views | supported | Tables, views, streams, sequences | listViews | List views |
GET /api/v2/databases/{database}/schemas/{schema}/views/{name} | supported | Tables, views, streams, sequences | fetchView | Fetch a view |
GET /api/v2/databases/{database}/schemas/{schema}/views/{name}:get-tags | supported | Tables, views, streams, sequences | getTags | Get the tag assignments for a view. |
| POST | ||||
POST /api/v2/databases/{database}/schemas/{schema}/views | supported | Tables, views, streams, sequences | createView | Create a view |
POST /api/v2/databases/{database}/schemas/{schema}/views/{name}:set-tags | supported | Tables, views, streams, sequences | setTags | Set tags on a view. |
POST /api/v2/databases/{database}/schemas/{schema}/views/{name}:unset-tags | supported | Tables, views, streams, sequences | unsetTags | Unset tags from a view. |
| DELETE | ||||
DELETE /api/v2/databases/{database}/schemas/{schema}/views/{name} | supported | Tables, views, streams, sequences | deleteView | Delete a view |
Warehouse (15)
| Operation | Support | Area | operationId | Description |
|---|---|---|---|---|
| GET | ||||
GET /api/v2/warehouses | supported | Accounts, users, sessions, warehouses | listWarehouses | List warehouse |
GET /api/v2/warehouses/{name} | supported | Accounts, users, sessions, warehouses | fetchWarehouse | Describe warehouse |
GET /api/v2/warehouses/{name}:get-tags | supported | Accounts, users, sessions, warehouses | getTags | Get the tag assignments for a warehouse. |
| POST | ||||
POST /api/v2/warehouses | supported | Accounts, users, sessions, warehouses | createWarehouse | Create or replace warehouse |
POST /api/v2/warehouses/{name}:abort | supported | Accounts, users, sessions, warehouses | abortAllQueriesOnWarehouse | Abort all queries |
POST /api/v2/warehouses/{name}:disable | supported | Accounts, users, sessions, warehouses | disableWarehouse | disable adaptive warehouse |
POST /api/v2/warehouses/{name}:enable | supported | Accounts, users, sessions, warehouses | enableWarehouse | enable adaptive warehouse |
POST /api/v2/warehouses/{name}:rename | supported | Accounts, users, sessions, warehouses | renameWarehouse | Update and rename warehouse |
POST /api/v2/warehouses/{name}:resume | supported | Accounts, users, sessions, warehouses | resumeWarehouse | Resume warehouse |
POST /api/v2/warehouses/{name}:set-tags | supported | Accounts, users, sessions, warehouses | setTags | Set tags on a warehouse. |
POST /api/v2/warehouses/{name}:suspend | supported | Accounts, users, sessions, warehouses | suspendWarehouse | Suspend warehouse |
POST /api/v2/warehouses/{name}:unset-tags | supported | Accounts, users, sessions, warehouses | unsetTags | Unset tags from a warehouse. |
POST /api/v2/warehouses/{name}:use | supported | Accounts, users, sessions, warehouses | useWarehouse | Use current warehouse for session |
| PUT | ||||
PUT /api/v2/warehouses/{name} | supported | Accounts, users, sessions, warehouses | createOrAlterWarehouse | Create a (or alter an existing) warehouse. |
| DELETE | ||||
DELETE /api/v2/warehouses/{name} | supported | Accounts, users, sessions, warehouses | deleteWarehouse | Drop warehouse |
Not in the REST API reference (19)
| Name | Support | Area |
|---|---|---|
GET /api/v2/cortex/analyst/agentic-optimization | not supported | Other |
POST /api/v2/cortex/analyst/agentic-optimizations | not supported | Other |
POST /api/v2/cortex/analyst/fast-generation | not supported | Other |
POST /api/v2/cortex/analyst/feedback | not supported | Other |
POST /api/v2/cortex/analyst/filters-and-metrics-suggestions | not supported | Other |
POST /api/v2/cortex/analyst/message | not supported | Other |
POST /api/v2/cortex/analyst/pre-selection | not supported | Other |
GET /api/v2/cortex/analyst/token | not supported | Other |
POST /api/v2/cortex/analyst/verified-query-suggestions | not supported | Other |
POST /api/v2/spark-connect/add-artifacts | not supported | Other |
POST /api/v2/spark-connect/analyze-plan | not supported | Other |
POST /api/v2/spark-connect/artifact-status | not supported | Other |
POST /api/v2/spark-connect/config | not supported | Other |
POST /api/v2/spark-connect/execute-plan | not supported | Other |
POST /api/v2/spark-connect/interrupt | not supported | Other |
POST /api/v2/spark-connect/pull-request | not supported | Other |
POST /api/v2/spark-connect/push-response | not supported | Other |
POST /api/v2/spark-connect/reattach-execute | not supported | Other |
POST /api/v2/spark-connect/release-execute | not supported | Other |