Skip to main content

Snowflake

Connect to Snowflake Data Cloud for data warehousing, data lakes, data engineering, data science, and data sharing.

Snowflake Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 327 actions:

ActionPurposeParameters
cortex_analyst_api/post_api_v2_cortex_analyst_feedbackSend a user feedback of Cortex Analyst responsedata: {
. request_id (string)
. positive (boolean)
. feedback_message (string)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_messageSend a data question to the Cortex Analystdata: {
. messages (array)
. semantic_model_file (string)
. semantic_model (string)
. semantic_view (string)
. semantic_models (array)
. stream (boolean)
. operation (string)
. warehouse (string)
. source (string)
. experimental (string)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_verified_query_suggestionsGenerate VQ suggestions for a semantic modeldata: {
. warehouse (string)
. mode (string)
. semantic_model (object)
. tables (array)
. tds_source (array)
. sql_source (object)
. offset (integer)
. limit (integer)
. experimental (string)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_fast_generationProvides real-time suggestions for improving a given semantic model via a streaming response.data: {
. json_proto (object)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_pre_selectionRetrieve relevant table information from input data for semantic model generationdata: {
. tds_source (array)
. warehouse (string)
. sql_source (object)
. tableau_input (object)
. experimental (string)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_filters_and_metrics_suggestionsGenerate suggestions for filters, facts, and metrics on a semantic view/model.data: {
. semantic_model (object)
. tables (array)
. warehouse (string)
. metrics_offset (integer)
. metrics_limit (integer)
. facts_offset (integer)
. facts_limit (integer)
. filters_offset (integer)
. filters_limit (integer)
. experimental (string)
} (object) required
cortex_analyst_api/post_api_v2_cortex_analyst_agentic_optimizationsList all agentic optimization runs for a given base modeldata: {
. semantic_model (object)
. experimental (string)
} (object) required
cortex_analyst_api/get_api_v2_cortex_analyst_agentic_optimizationGet the status and state of a specified agentic optimization runoptimization_name (string)
cortex_analyst_api/get_api_v2_cortex_analyst_tokenInternal endpoint to exchange a Cortex Analyst Oauth tokenNo parameters
cortex_chat_completions_api/post_api_v2_cortex_v1_chat_completionsPerform LLM text completion inference using Chat Completions API format.data: {
. key_0 (boolean)
. key_1 (boolean)
. key_2 (integer)
. key_3 (number)
} (object) required
cortex_embed_api/post_api_v2_cortex_inference_embedPerform LLM embedding for input text, similar to the Snowflake Cortex EMBED_TEXT functions. For more details on available functions, see: - EMBED_TEXT_768https://docs.snowflake.com/en/sql-reference/functions/embed_text-snowflake-cortex - EMBED_TEXT_1024https://docs.snowflake.com/en/sql-reference/functions/embed_text_1024-snowflake-cortexdata: {
. model (string)
. text (array)
. provisioned_throughput_id (string)
} (object) required
cortex_inference_api/get_api_v2_cortex_modelsReturns the LLMs available for the current sessiondata: {
. models (array)
} (object) required
cortex_inference_api/post_api_v2_cortex_inference_completePerform LLM text completion inference, similar to snowflake.cortex.Complete.data: {
. model (string)
. messages (array)
. anthropic (object)
. openai (object)
. temperature (number)
. top_p (integer)
. max_tokens (integer)
. max_output_tokens (integer)
. response_format (object)
. guardrails (object)
. tools (array)
. tool_choice (object)
. provisioned_throughput_id (string)
. sf-ml-xp-inflight-prompt-action (string)
. sf-ml-xp-inflight-prompt-client-id (string)
. sf-ml-xp-inflight-prompt-public-key (string)
. stream (boolean)
} (object) required
cortex_messages_api/post_api_v2_cortex_v1_messagesPerform LLM text completion inference using Cortex Messages API format.data: {
. key_0 (string)
. key_1 (integer)
} (object) required
cortex_search_rest_api/get_api_v2_databases_database_schemas_schema_cortex_search_services_nameFetch a Cortex Search Service.No parameters
cortex_search_rest_api/delete_api_v2_databases_database_schemas_schema_cortex_search_services_nameDelete a cortex search service with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful.ifExists (string)
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_services_by_service_name_queryQuery a Cortex Search Service to get search results.service_name (string) required
data: {
. query (string)
. multi_index_query (object)
. columns (array)
. filter (object)
. limit (integer)
. scoring_config (object)
. scoring_profile (string)
. experimental (object)
} (object) required
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_services_by_service_name_suggestSuggest from a Cortex Search Service to get auto-complete or contextual suggestionsservice_name (string) required
data: {
. query (string)
. columns (array)
. limit (integer)
} (object) required
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_services_by_name_suspendSuspends one or both of the indexing or serving targets of a cortex search service.name (string) required
ifExists (string)
target (string)
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_services_by_name_resumeResume the cortex search servicename (string) required
ifExists (string)
target (string)
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_services_by_name_feedbackSend user feedback for a Cortex Search resultname (string) required
data: {
. request_id (string)
. positive (boolean)
. feedback_message (string)
} (object) required
cortex_search_rest_api/get_api_v2_databases_database_schemas_schema_cortex_search_servicesLists the cortex search services under the database and schema.like (string)
fromName (string)
showLimit (string)
cortex_search_rest_api/post_api_v2_databases_database_schemas_schema_cortex_search_servicesCreate a cortex search service, with standard create modifiers as query parameters. See the Cortex Search Service component definition for what is required to be provided in the request body.createMode (string)
data: {
. name (string)
. search_column (string)
. target_lag (object)
. warehouse (string)
. definition (string)
. columns (array)
. attribute_columns (array)
. comment (string)
. indexing_state (string)
. serving_state (string)
} (object) required
account_api/delete_api_v2_accounts_nameDeletes the specified account. If you enable the ifExists parameter, the operation succeeds even if the account does not exist. Otherwise, a 404 failure is returned if the account does not exist. if the drop is unsuccessful.ifExists (string)
gracePeriodInDays (string)
account_api/post_api_v2_accounts_by_name_undropRestores a dropped account that has not yet been permanently deleted a dropped account that is within its grace period.name (string) required
account_api/get_api_v2_accountsLists the accessible accounts.like (string)
showLimit (string)
history (string)
account_api/post_api_v2_accountsCreates a account. You must provide the full account definition when creating a account.data: {
. name (string)
. admin_name (string)
. email (string)
. edition (string)
. region_group (string)
. region (string)
. comment (string)
. admin_password (string)
. admin_rsa_public_key (string)
. admin_user_type (string)
. first_name (string)
. last_name (string)
. must_change_password (boolean)
. polaris (boolean)
} (object) required
alert_api/get_api_v2_databases_database_schemas_schema_alerts_nameFetch an alertNo parameters
alert_api/delete_api_v2_databases_database_schemas_schema_alerts_nameDelete an alertifExists (string)
alert_api/post_api_v2_databases_database_schemas_schema_alerts_by_name_cloneCreate a new alert by cloning from the specified resourcename (string) required
createMode (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. point_of_time (object)
} (object) required
alert_api/post_api_v2_databases_database_schemas_schema_alerts_by_name_executeExecute an alertname (string) required
alert_api/get_api_v2_databases_database_schemas_schema_alertsList alertslike (string)
startsWith (string)
showLimit (string)
fromName (string)
alert_api/post_api_v2_databases_database_schemas_schema_alertsCreate an alertcreateMode (string)
data: {
. name (string)
. schedule (object)
. condition (string)
. action (string)
. comment (string)
. warehouse (string)
} (object) required
grant_api/delete_api_v2_grants_grantee_type_grantee_name_securable_type_securable_name_privileges_privilege_grant_optionEndpoint to indicate that the grant option for the privilege listed in the path should be revoked.deleteMode (string)
grant_api/delete_api_v2_grants_grantee_type_grantee_name_securable_type_securable_name_privileges_privilegeEndpoint to indicate that the privilege listed in the path should be revoked.deleteMode (string)
grant_api/post_api_v2_grants_grantee_type_grantee_name_securable_type_securable_name_privilegesEndpoint to indicate that the privileges listed in the request body should be granted.data: {
. privileges (array)
. grant_option (boolean)
. created_on (string)
. grantee_type (string)
. grantee_name (string)
. securable_type (string)
. securable_name (string)
. granted_by_role_type (string)
. granted_by_name (string)
} (object) required
grant_api/delete_api_v2_grants_grantee_type_grantee_name_bulk_grant_type_securable_type_plural_scope_type_scope_name_privileges_privilege_grant_optionEndpoint to indicate that the grant option for the privilege listed on the group securable in the given scope should be revoked.deleteMode (string)
grant_api/delete_api_v2_grants_grantee_type_grantee_name_bulk_grant_type_securable_type_plural_scope_type_scope_name_privileges_privilegeEndpoint to indicate that the privilege listed on the group securable in the given scope should be revoked.deleteMode (string)
grant_api/post_api_v2_grants_grantee_type_grantee_name_bulk_grant_type_securable_type_plural_scope_type_scope_name_privilegesEndpoint to indicate that the privileges listed in the request body should be granted to all securables of this type in the given scope.data: {
. privileges (array)
. grant_option (boolean)
. created_on (string)
. grantee_type (string)
. grantee_name (string)
. securable_type (string)
. securable_name (string)
. granted_by_role_type (string)
. granted_by_name (string)
} (object) required
grant_api/get_api_v2_grants_grantee_type_grantee_nameList the roles and privileges granted to the specified grantee using the output of SHOW GRANTS TOshowLimit (string)
managed_account_api/delete_api_v2_managed_accounts_nameRemoves a managed account, including all objects created in the account, and immediately restricts access to the account. Currently used by data providers to create reader accounts for their consumers. For more details, see Manage reader accounts.No parameters
managed_account_api/get_api_v2_managed_accountsLists the accessible managed accounts.like (string)
managed_account_api/post_api_v2_managed_accountsCreates a managed account. You must provide the full managed account definition when creating a managed account.data: {
. name (string)
. admin_name (string)
. admin_password (string)
. account_type (string)
. comment (string)
} (object) required
network_policy_api/get_api_v2_network_policies_nameFetch a network policyNo parameters
network_policy_api/delete_api_v2_network_policies_nameDelete a network policyifExists (string)
network_policy_api/get_api_v2_network_policiesList network policiesNo parameters
network_policy_api/post_api_v2_network_policiesCreate a network policycreateMode (string)
data: {
. name (string)
. allowed_network_rule_list (array)
. blocked_network_rule_list (array)
. allowed_ip_list (array)
. blocked_ip_list (array)
. comment (string)
} (object) required
network_rule_api/get_api_v2_databases_database_schemas_schema_network_rules_nameFetch a network ruleNo parameters
network_rule_api/delete_api_v2_databases_database_schemas_schema_network_rules_nameDelete a network ruleifExists (string)
network_rule_api/get_api_v2_databases_database_schemas_schema_network_rulesList network ruleslike (string)
startsWith (string)
showLimit (string)
fromName (string)
network_rule_api/post_api_v2_databases_database_schemas_schema_network_rulesCreate a network rulecreateMode (string)
data: {
. type (string)
. name (string)
. mode (string)
. value_list (array)
. comment (string)
} (object) required
password_policy_api/get_api_v2_databases_database_schemas_schema_password_policies_nameFetch a password policyNo parameters
password_policy_api/delete_api_v2_databases_database_schemas_schema_password_policies_nameDelete a password policyifExists (string)
password_policy_api/post_api_v2_databases_database_schemas_schema_password_policies_by_name_renameRename a password policy with a new identifiername (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
password_policy_api/get_api_v2_databases_database_schemas_schema_password_policiesList password policieslike (string)
startsWith (string)
showLimit (string)
password_policy_api/post_api_v2_databases_database_schemas_schema_password_policiesCreate a password policycreateMode (string)
data: {
. name (string)
. comment (string)
. password_min_length (integer)
. password_max_length (integer)
. password_min_upper_case_chars (integer)
. password_min_lower_case_chars (integer)
. password_min_numeric_chars (integer)
. password_min_special_chars (integer)
. password_min_age_days (integer)
. password_max_age_days (integer)
. password_max_retries (integer)
. password_lockout_time_mins (integer)
. password_history (integer)
} (object) required
role_api/get_api_v2_roles_name_grantsList all grants to the roleshowLimit (string)
role_api/post_api_v2_roles_name_grantsGrant privileges to the roledata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
role_api/post_api_v2_roles_name_grants_revokeRevoke grants from the rolemode (string)
data: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
role_api/get_api_v2_roles_name_grants_ofList all grants of the roleshowLimit (string)
role_api/get_api_v2_roles_name_grants_onList all grants on the roleshowLimit (string)
role_api/get_api_v2_roles_name_future_grantsList all future grants to the roleshowLimit (string)
role_api/post_api_v2_roles_name_future_grantsGrant future privileges to the roledata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
role_api/post_api_v2_roles_name_future_grants_revokeRevoke future grants from the rolemode (string)
data: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
role_api/delete_api_v2_roles_nameDelete a roleifExists (string)
role_api/get_api_v2_rolesList roleslike (string)
startsWith (string)
showLimit (string)
fromName (string)
role_api/post_api_v2_rolesCreate a rolecreateMode (string)
data: {
. name (string)
. comment (string)
} (object) required
secret_api/get_api_v2_databases_database_schemas_schema_secrets_nameFetch a secretNo parameters
secret_api/delete_api_v2_databases_database_schemas_schema_secrets_nameDelete a secretifExists (string)
secret_api/get_api_v2_databases_database_schemas_schema_secretsList secretslike (string)
startsWith (string)
showLimit (string)
fromName (string)
secret_api/post_api_v2_databases_database_schemas_schema_secretsCreate a secretcreateMode (string)
data: {
. type (string)
. name (string)
. comment (string)
} (object) required
user_api/get_api_v2_users_name_grantsList all grants to the usershowLimit (string)
user_api/post_api_v2_users_name_grantsGrant a role to the userdata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. privileges (array)
} (object) required
user_api/post_api_v2_users_name_grants_revokeRevoke grants from the userdata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. privileges (array)
} (object) required
user_api/get_api_v2_users_nameFetch user information using the result of the DESCRIBE commandNo parameters
user_api/delete_api_v2_users_nameDelete a user with the given name.ifExists (string)
user_api/put_api_v2_users_nameCreate a or alter an existing user. Even if the operation is just an alter, the full property set must be provided. Note that password is not currently altered by this operation but is supported for a newly-created object.data: {
. name (string)
. password (string)
. login_name (string)
. display_name (string)
. first_name (string)
. middle_name (string)
. last_name (string)
. email (string)
. must_change_password (boolean)
. disabled (boolean)
. days_to_expiry (integer)
. mins_to_unlock (integer)
. default_warehouse (string)
. default_namespace (string)
. default_role (string)
. default_secondary_roles (string)
. mins_to_bypass_mfa (integer)
. rsa_public_key (string)
. rsa_public_key_2 (string)
. comment (string)
. type (string)
. enable_unredacted_query_syntax_error (boolean)
. network_policy (string)
} (object) required
user_api/post_api_v2_usersCreate a user according to the parameters givencreateMode (string)
data: {
. name (string)
. password (string)
. login_name (string)
. display_name (string)
. first_name (string)
. middle_name (string)
. last_name (string)
. email (string)
. must_change_password (boolean)
. disabled (boolean)
. days_to_expiry (integer)
. mins_to_unlock (integer)
. default_warehouse (string)
. default_namespace (string)
. default_role (string)
. default_secondary_roles (string)
. mins_to_bypass_mfa (integer)
. rsa_public_key (string)
. rsa_public_key_2 (string)
. comment (string)
. type (string)
. enable_unredacted_query_syntax_error (boolean)
. network_policy (string)
} (object) required
user_api/get_api_v2_usersLists the users in the system.like (string)
startsWith (string)
showLimit (string)
fromName (string)
database_api/post_api_v2_databases_by_name_from_shareCreates a database from a given share.name (string) required
createMode (string)
share (string)
database_api/post_api_v2_databases_by_name_cloneClones an existing database, with modifiers as query parameters. You must provide the full database definition when cloning an existing database.name (string) required
createMode (string)
kind (string)
data: {
. name (string)
. created_on (string)
. kind (string)
. is_default (boolean)
. is_current (boolean)
. origin (string)
. owner (string)
. comment (string)
. options (string)
. retention_time (integer)
. dropped_on (string)
. budget (string)
. owner_role_type (string)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
database_api/post_api_v2_databases_name_replication_enablePromotes a local database to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary i.e. replica database.ignore_edition_check (string)
data: {
. accounts (array)
} (object) required
database_api/post_api_v2_databases_name_replication_disableDisables replication for this primary database, meaning no replica of this database i.e. secondary database in another account can be refreshed. Any secondary databases remain linked to the primary database, but requests to refresh a secondary database are denied.data: {
. accounts (array)
} (object) required
database_api/post_api_v2_databases_name_replication_refreshRefreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data. If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time.No parameters
database_api/post_api_v2_databases_name_failover_enableSpecifies a comma-separated list of accounts in your organization where a replica of this primary database can be promoted to serve as the primary database.data: {
. accounts (array)
} (object) required
database_api/post_api_v2_databases_name_failover_disableDisables failover for this primary database, meaning no replica of this database i.e. secondary database can be promoted to serve as the primary database.data: {
. accounts (array)
} (object) required
database_api/post_api_v2_databases_name_failover_primaryPromotes the specified secondary replica database to serve as the primary database. When promoted, the database becomes writeable. At the same time, the previous primary database becomes a read-only secondary database.No parameters
database_api/get_api_v2_databases_nameFetches a database.No parameters
database_api/put_api_v2_databases_nameCreates a new, or alters an existing, database. You must provide the full database definition even when altering an existing database.data: {
. name (string)
. kind (string)
. comment (string)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
database_api/delete_api_v2_databases_nameDeletes the specified database. If you enable the ifExists parameter, the operation succeeds even if the database does not exist. Otherwise, a 404 failure is returned if the database does not exist. if the drop is unsuccessful.ifExists (string)
restrict (string)
database_api/post_api_v2_databases_by_name_undropUndrops database.name (string) required
database_api/get_api_v2_databasesLists the accessible databases.like (string)
startsWith (string)
showLimit (string)
fromName (string)
history (string)
database_api/post_api_v2_databasesCreates a database, with modifiers as query parameters. You must provide the full database definition when creating a database.createMode (string)
kind (string)
data: {
. name (string)
. kind (string)
. comment (string)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
database_api/post_api_v2_databases_from_shareCreates a database from a given share.createMode (string)
share (string)
data: {
. name (string)
} (object) required
database_role_api/get_api_v2_databases_database_database_roles_name_grantsList all grants to the roleshowLimit (string)
database_role_api/post_api_v2_databases_database_database_roles_name_grantsGrant privileges to the roledata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
database_role_api/post_api_v2_databases_database_database_roles_name_grants_revokeRevoke grants from the rolemode (string)
data: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
database_role_api/get_api_v2_databases_database_database_roles_name_future_grantsList all future grants to the roleshowLimit (string)
database_role_api/post_api_v2_databases_database_database_roles_name_future_grantsGrant future privileges to the roledata: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
database_role_api/post_api_v2_databases_database_database_roles_name_future_grants_revokeRevoke future grants from the rolemode (string)
data: {
. securable_type (string)
. securable (object)
. containing_scope (object)
. grant_option (boolean)
. privileges (array)
} (object) required
database_role_api/delete_api_v2_databases_database_database_roles_nameDelete a database roleifExists (string)
database_role_api/post_api_v2_databases_database_database_roles_by_name_cloneCreate a new database role by cloning from the specified resourcename (string) required
createMode (string)
targetDatabase (string)
data: {
. name (string)
} (object) required
database_role_api/get_api_v2_databases_database_database_rolesList database rolesshowLimit (string)
fromName (string)
database_role_api/post_api_v2_databases_database_database_rolesCreate a database rolecreateMode (string)
data: {
. name (string)
. comment (string)
} (object) required
schema_api/post_api_v2_databases_database_schemas_by_name_cloneClones an existing schema, with modifiers as query parameters. You must provide the full schema definition when cloning an existing schema.name (string) required
createMode (string)
kind (string)
targetDatabase (string)
data: {
. name (string)
. created_on (string)
. kind (string)
. is_default (boolean)
. is_current (boolean)
. database_name (string)
. owner (string)
. comment (string)
. options (string)
. managed_access (boolean)
. retention_time (integer)
. dropped_on (string)
. owner_role_type (string)
. budget (string)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. pipe_execution_paused (boolean)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
schema_api/post_api_v2_databases_database_schemas_by_name_undropUndrops schema.name (string) required
schema_api/get_api_v2_databases_database_schemas_nameFetches a schema.No parameters
schema_api/put_api_v2_databases_database_schemas_nameCreates a new, or alters an existing, schema. You must provide the full schema definition even when altering an existing schema.kind (string)
data: {
. name (string)
. kind (string)
. comment (string)
. managed_access (boolean)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. pipe_execution_paused (boolean)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
schema_api/delete_api_v2_databases_database_schemas_nameDeletes the specified schema. If you enable the ifExists parameter, the operation succeeds even if the schema does not exist. Otherwise, a 404 failure is returned if the schema does not exist. if the drop is unsuccessful.ifExists (string)
restrict (string)
schema_api/get_api_v2_databases_database_schemasLists the accessible schemas.like (string)
startsWith (string)
showLimit (string)
fromName (string)
history (string)
schema_api/post_api_v2_databases_database_schemasCreates a schema, with modifiers as query parameters. You must provide the full schema definition when creating a schema.createMode (string)
kind (string)
data: {
. name (string)
. kind (string)
. comment (string)
. managed_access (boolean)
. data_retention_time_in_days (integer)
. default_ddl_collation (string)
. log_level (string)
. pipe_execution_paused (boolean)
. max_data_extension_time_in_days (integer)
. suspend_task_after_num_failures (integer)
. trace_level (string)
. user_task_managed_initial_warehouse_size (string)
. user_task_timeout_ms (integer)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_as_selectCreate a table as select.name (string) required
createMode (string)
copyGrants (string)
query (string)
data: {
. name (string)
. kind (string)
. cluster_by (array)
. enable_schema_evolution (boolean)
. change_tracking (boolean)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. default_ddl_collation (string)
. columns (array)
. constraints (array)
. comment (string)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_using_templateCreate a table using template.name (string) required
createMode (string)
copyGrants (string)
query (string)
table_api/get_api_v2_databases_database_schemas_schema_tables_nameFetch a Table using the describe command output.No parameters
table_api/put_api_v2_databases_database_schemas_schema_tables_nameCreate a or alter an existing table. Even if the operation is just an alter, the full property set must be provided.data: {
. name (string)
. kind (string)
. cluster_by (array)
. enable_schema_evolution (boolean)
. change_tracking (boolean)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. default_ddl_collation (string)
. columns (array)
. constraints (array)
. comment (string)
} (object) required
table_api/delete_api_v2_databases_database_schemas_schema_tables_nameDelete a table with the given name.ifExists (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_cloneCreate a new table by cloning from the specified resourcename (string) required
createMode (string)
copyGrants (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. kind (string)
. cluster_by (array)
. enable_schema_evolution (boolean)
. change_tracking (boolean)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. default_ddl_collation (string)
. columns (array)
. constraints (array)
. comment (string)
. created_on (string)
. database_name (string)
. schema_name (string)
. rows (integer)
. bytes (integer)
. owner (string)
. dropped_on (string)
. automatic_clustering (boolean)
. search_optimization (boolean)
. search_optimization_progress (integer)
. search_optimization_bytes (integer)
. owner_role_type (string)
. budget (string)
. table_type (string)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_create_likeCreate a new table like the specified resource, but emptyname (string) required
createMode (string)
copyGrants (string)
newTableName (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_create_likeCreate a new table like the specified resource, but emptyname (string) required
createMode (string)
copyGrants (string)
data: {
. name (string)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_undropUndrop specified tablename (string) required
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_suspend_reclusterSuspend recluster of a tablename (string) required
ifExists (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_suspend_reclusterSuspend recluster of a tablename (string) required
ifExists (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_resume_reclusterResume recluster of a tablename (string) required
ifExists (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_resume_reclusterResume recluster of a tablename (string) required
ifExists (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_swapwithSwap with another tablename (string) required
ifExists (string)
targetTableName (string)
table_api/post_api_v2_databases_database_schemas_schema_tables_by_name_swap_withSwap with another tablename (string) required
ifExists (string)
targetName (string)
targetDatabase (string)
targetSchema (string)
table_api/get_api_v2_databases_database_schemas_schema_tablesLists the tables under the database and schema.like (string)
startsWith (string)
showLimit (string)
fromName (string)
history (string)
deep (string)
table_api/post_api_v2_databases_database_schemas_schema_tablesCreate a table.createMode (string)
copyGrants (string)
data: {
. name (string)
. kind (string)
. cluster_by (array)
. enable_schema_evolution (boolean)
. change_tracking (boolean)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. default_ddl_collation (string)
. columns (array)
. constraints (array)
. comment (string)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_as_selectCreate a table as select.createMode (string)
copyGrants (string)
query (string)
data: {
. name (string)
. columns (array)
. cluster_by (array)
} (object) required
table_api/post_api_v2_databases_database_schemas_schema_tables_using_templateCreate a table using template.createMode (string)
copyGrants (string)
query (string)
data: {
. name (string)
} (object) required
dynamic_table_api/get_api_v2_databases_database_schemas_schema_dynamic_tables_nameFetch a Dynamic Table.No parameters
dynamic_table_api/delete_api_v2_databases_database_schemas_schema_dynamic_tables_nameDelete a dynamic table with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful.ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_cloneCreate a new dynamic table by cloning from the specified resourcename (string) required
createMode (string)
copyGrants (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. target_lag (object)
. warehouse (string)
. point_of_time (object)
} (object) required
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_undropUndrop specified dynamic tablename (string) required
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_suspendSuspend refreshes on the dynamic tablename (string) required
ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_resumeResume refreshes on the dynamic tablename (string) required
ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_refreshSpecifies that the dynamic table should be manually refreshedname (string) required
ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_suspend_reclusterSuspend recluster of a dynamic tablename (string) required
ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_resume_reclusterResume recluster of a dynamic tablename (string) required
ifExists (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tables_by_name_swap_withSwap with another dynamic tablename (string) required
ifExists (string)
targetName (string)
targetDatabase (string)
targetSchema (string)
dynamic_table_api/get_api_v2_databases_database_schemas_schema_dynamic_tablesLists the dynamic tables under the database and schema.like (string)
startsWith (string)
showLimit (string)
fromName (string)
deep (string)
dynamic_table_api/post_api_v2_databases_database_schemas_schema_dynamic_tablesCreate a dynamic table, with standard create modifiers as query parameters. See the Dynamic Table component definition for what is required to be provided in the request body.createMode (string)
data: {
. name (string)
. target_lag (object)
. warehouse (string)
. query (string)
. kind (string)
. columns (array)
. refresh_mode (string)
. initialize (string)
. cluster_by (array)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. comment (string)
} (object) required
event_table_api/get_api_v2_databases_database_schemas_schema_event_tables_nameFetch an event tableNo parameters
event_table_api/delete_api_v2_databases_database_schemas_schema_event_tables_nameDelete an event tableifExists (string)
event_table_api/post_api_v2_databases_database_schemas_schema_event_tables_by_name_renameRename the event tablename (string) required
ifExists (string)
targetName (string)
event_table_api/get_api_v2_databases_database_schemas_schema_event_tablesList event tableslike (string)
startsWith (string)
showLimit (string)
fromName (string)
event_table_api/post_api_v2_databases_database_schemas_schema_event_tablesCreate an event tablecreateMode (string)
copyGrants (string)
data: {
. name (string)
. cluster_by (array)
. data_retention_time_in_days (integer)
. max_data_extension_time_in_days (integer)
. change_tracking (boolean)
. default_ddl_collation (string)
. comment (string)
} (object) required
iceberg_table_api/get_api_v2_databases_database_schemas_schema_iceberg_tables_nameDescribe an iceberg tableNo parameters
iceberg_table_api/delete_api_v2_databases_database_schemas_schema_iceberg_tables_nameDrop an iceberg tableifExists (string)
type (string)
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_resume_reclusterResume recluster of an iceberg table iceberg tables managed by an external catalog do not allow clusteringname (string) required
ifExists (string)
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_suspend_reclusterSuspend recluster of an iceberg table iceberg tables managed by an external catalog do not allow clusteringname (string) required
ifExists (string)
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_refreshRefreshes the metadata for an Apache Iceberg table that uses an external Iceberg catalogname (string) required
ifExists (string)
data: {
. metadata_file_relative_path (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_convert_to_managedConvert unmanaged iceberg table to managed iceberg tablename (string) required
ifExists (string)
data: {
. base_location (string)
. storage_serialization_policy (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_undropUndrop an iceberg tablename (string) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_cloneClone a snowflake managed iceberg tablename (string) required
createMode (string)
copyGrants (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. point_of_time (object)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_by_name_create_likeCreates a new table with the same column definitions as an existing table, but without copying data from the existing table.name (string) required
createMode (string)
copyGrants (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. cluster_by (array)
. external_volume (string)
. base_location (string)
. comment (string)
} (object) required
iceberg_table_api/get_api_v2_databases_database_schemas_schema_iceberg_tablesLists the Apache Iceberg™ tables for which you have access privileges.like (string)
startsWith (string)
showLimit (string)
fromName (string)
deep (string)
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tablesCreate a snowflake managed iceberg table clone and undrop are separate subresourcescreateMode (string)
copyGrants (string)
data: {
. name (string)
. comment (string)
. change_tracking (boolean)
. max_data_extension_time_in_days (integer)
. external_volume (string)
. data_retention_time_in_days (integer)
. catalog_sync (string)
. catalog (string)
. storage_serialization_policy (string)
. catalog_table_name (string)
. catalog_namespace (string)
. cluster_by (array)
. columns (array)
. base_location (string)
. replace_invalid_characters (boolean)
. metadata_file_path (string)
. constraints (array)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_as_selectCreate a snowflake managed iceberg table as selectcreateMode (string)
copyGrants (string)
query (string)
data: {
. name (string)
. columns (array)
. external_volume (string)
. cluster_by (array)
. base_location (string)
. comment (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_from_aws_glue_catalogCreate an unmanaged iceberg table from AWS Glue catalogcreateMode (string)
data: {
. name (string)
. catalog_table_name (string)
. external_volume (string)
. catalog_namespace (string)
. replace_invalid_characters (boolean)
. auto_refresh (boolean)
. catalog (string)
. comment (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_from_deltaCreate an unmanaged iceberg table from DeltacreateMode (string)
data: {
. name (string)
. base_location (string)
. external_volume (string)
. replace_invalid_characters (boolean)
. catalog (string)
. comment (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_from_iceberg_filesCreate an unmanaged iceberg table from Iceberg filescreateMode (string)
data: {
. name (string)
. metadata_file_path (string)
. external_volume (string)
. replace_invalid_characters (boolean)
. catalog (string)
. comment (string)
} (object) required
iceberg_table_api/post_api_v2_databases_database_schemas_schema_iceberg_tables_from_iceberg_restCreate an unmanaged iceberg table from Iceberg RESTcreateMode (string)
data: {
. name (string)
. catalog_table_name (string)
. external_volume (string)
. catalog_namespace (string)
. replace_invalid_characters (boolean)
. auto_refresh (boolean)
. catalog (string)
. comment (string)
} (object) required
view_api/get_api_v2_databases_database_schemas_schema_views_nameFetch a viewNo parameters
view_api/delete_api_v2_databases_database_schemas_schema_views_nameDelete a viewifExists (string)
view_api/get_api_v2_databases_database_schemas_schema_viewsList viewslike (string)
startsWith (string)
showLimit (string)
fromName (string)
deep (string)
view_api/post_api_v2_databases_database_schemas_schema_viewsCreate a viewcreateMode (string)
copyGrants (string)
data: {
. name (string)
. columns (array)
. query (string)
. secure (boolean)
. kind (string)
. recursive (boolean)
. comment (string)
} (object) required
pipe_api/get_api_v2_databases_database_schemas_schema_pipes_nameFetch a pipeNo parameters
pipe_api/delete_api_v2_databases_database_schemas_schema_pipes_nameDelete a pipeifExists (string)
pipe_api/post_api_v2_databases_database_schemas_schema_pipes_by_name_refreshRefresh the pipename (string) required
ifExists (string)
prefix (string)
modified_after (string)
pipe_api/get_api_v2_databases_database_schemas_schema_pipesList pipeslike (string)
pipe_api/post_api_v2_databases_database_schemas_schema_pipesCreate a pipecreateMode (string)
data (string) required
stage_api/post_api_v2_databases_database_schemas_schema_stages_name_files_by_file_path_presigned_urlGenerate a presigned url and optionally encryption materials for uploading and downloading files.filePath (string) required
data: {
. expiration_time (integer)
} (object) required
stage_api/get_api_v2_databases_database_schemas_schema_stages_name_filesList files in the stage -- this is equivalent to LIST @stage.pattern (string)
stage_api/get_api_v2_databases_database_schemas_schema_stages_nameFetch a stage using the describe command output.No parameters
stage_api/delete_api_v2_databases_database_schemas_schema_stages_nameDelete a stage with the stage name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful.ifExists (string)
stage_api/get_api_v2_databases_database_schemas_schema_stagesLists stages under the database and schema, with show options as query parameters.like (string)
stage_api/post_api_v2_databases_database_schemas_schema_stagesCreate a stage, with standard create modifiers as query parameters. See the Stage component definition for what is required to be provided in the request body.createMode (string)
data: {
. name (string)
} (object) required
stream_api/get_api_v2_databases_database_schemas_schema_streams_nameFetch a streamNo parameters
stream_api/delete_api_v2_databases_database_schemas_schema_streams_nameDelete a streamifExists (string)
stream_api/post_api_v2_databases_database_schemas_schema_streams_by_name_cloneClone a streamname (string) required
createMode (string)
targetDatabase (string)
targetSchema (string)
copyGrants (string)
data: {
. name (string)
. comment (string)
} (object) required
stream_api/get_api_v2_databases_database_schemas_schema_streamsList streamslike (string)
startsWith (string)
showLimit (string)
fromName (string)
stream_api/post_api_v2_databases_database_schemas_schema_streamsCreate a streamcreateMode (string)
copyGrants (string)
data: {
. name (string)
. stream_source (object)
. comment (string)
} (object) required
task_api/get_api_v2_databases_database_schemas_schema_tasks_name_dependentsThis operation returns a list of the dependent tasks of the task with identifier name.recursive (string)
task_api/get_api_v2_databases_database_schemas_schema_tasks_name_current_graphsThis function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days.resultLimit (string)
task_api/get_api_v2_databases_database_schemas_schema_tasks_name_current_graphsThis function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days.resultLimit (string)
task_api/get_api_v2_databases_database_schemas_schema_tasks_name_complete_graphsThis function returns details for graph runs that are completed.resultLimit (string)
errorOnly (string)
task_api/get_api_v2_databases_database_schemas_schema_tasks_name_complete_graphsThis function returns details for graph runs that are completed.resultLimit (string)
errorOnly (string)
task_api/get_api_v2_databases_database_schemas_schema_tasks_nameFetch a task using the describe command output.No parameters
task_api/put_api_v2_databases_database_schemas_schema_tasks_nameCreate a or alter an existing task. Even if the operation is just an alter, the full property set must be provided.data: {
. name (string)
. schedule (object)
. comment (string)
. config (object)
. definition (string)
. predecessors (array)
. user_task_managed_initial_warehouse_size (string)
. target_completion_interval (object)
. serverless_task_min_statement_size (string)
. serverless_task_max_statement_size (string)
. user_task_timeout_ms (integer)
. suspend_task_after_num_failures (integer)
. condition (string)
. allow_overlapping_execution (boolean)
. error_integration (string)
. created_on (string)
. id (string)
. owner (string)
. owner_role_type (string)
. state (string)
. last_committed_on (string)
. last_suspended_on (string)
. database_name (string)
. schema_name (string)
} (object) required
task_api/delete_api_v2_databases_database_schemas_schema_tasks_nameDelete a task with the task name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful.ifExists (string)
task_api/post_api_v2_databases_database_schemas_schema_tasks_by_name_executeExecute a task -- this is equivalent to EXECUTE IMMEDIATE.name (string) required
asyncExec (string)
retryLast (string)
task_api/post_api_v2_databases_database_schemas_schema_tasks_by_name_resumeResumes a suspended task object. This is equivalento an ALTER TASK ... RESUME.name (string) required
task_api/post_api_v2_databases_database_schemas_schema_tasks_by_name_suspendSuspends a running task. This is equivalent to an ALTER TASK ... SUSPEND.name (string) required
task_api/get_api_v2_databases_database_schemas_schema_tasksLists tasks under the database and schema, with show options as query parameters.rootOnly (string)
like (string)
startsWith (string)
showLimit (string)
fromName (string)
task_api/post_api_v2_databases_database_schemas_schema_tasksCreate a task, with standard create modifiers as query parameters. See the Task component definition for what is required to be provided in the request body.createMode (string)
data: {
. name (string)
. warehouse (string)
. schedule (object)
. predecessors (array)
. comment (string)
. definition (string)
} (object) required
function_api/get_api_v2_databases_database_schemas_schema_functions_name_with_argsFetch a Function using the describe command output.No parameters
function_api/delete_api_v2_databases_database_schemas_schema_functions_name_with_argsDelete a function with the given name and args.ifExists (string)
function_api/post_api_v2_databases_database_schemas_schema_functions_by_name_executeExecute a Function.name (string) required
data (array) required
function_api/get_api_v2_databases_database_schemas_schema_functionsLists the user functions under the database and schema.like (string)
function_api/post_api_v2_databases_database_schemas_schema_functionsCreate a function.createMode (string)
data: {
. name (string)
. arguments (array)
. function_type (string)
. returns (string)
. max_batch_rows (integer)
. created_on (string)
. signature (string)
. language (string)
. body (string)
} (object) required
procedure_api/get_api_v2_databases_database_schemas_schema_procedures_name_with_argsFetch a procedureNo parameters
procedure_api/delete_api_v2_databases_database_schemas_schema_procedures_name_with_argsDelete a procedureifExists (string)
procedure_api/post_api_v2_databases_database_schemas_schema_procedures_by_name_with_args_callCall a procedurenameWithArgs (string) required
data: {
. call_arguments (array)
} (object) required
procedure_api/get_api_v2_databases_database_schemas_schema_proceduresList procedureslike (string)
procedure_api/post_api_v2_databases_database_schemas_schema_proceduresCreate a procedurecreateMode (string)
copyGrants (string)
data: {
. name (string)
. arguments (array)
. return_type (object)
. language_config (object)
. execute_as (string)
. is_secure (boolean)
. comment (string)
. body (string)
} (object) required
user_defined_function_api/get_api_v2_databases_database_schemas_schema_user_defined_functions_name_with_argsFetch a UDFNo parameters
user_defined_function_api/delete_api_v2_databases_database_schemas_schema_user_defined_functions_name_with_argsDelete a UDFifExists (string)
user_defined_function_api/post_api_v2_databases_database_schemas_schema_user_defined_functions_by_name_executeExecute a UDF.name (string) required
data (array) required
user_defined_function_api/post_api_v2_databases_database_schemas_schema_user_defined_functions_by_name_with_args_renameRename a UDFnameWithArgs (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
user_defined_function_api/post_api_v2_databases_database_schemas_schema_user_defined_functionsCreate a UDFcreateMode (string)
copyGrants (string)
data: {
. name (string)
. arguments (array)
. return_type (object)
. language_config (object)
. is_temporary (boolean)
. is_aggregate (boolean)
. is_memoizable (boolean)
. is_secure (boolean)
. comment (string)
. body (string)
} (object) required
user_defined_function_api/get_api_v2_databases_database_schemas_schema_user_defined_functionsList UDFslike (string)
sequence_api/get_api_v2_databases_database_schemas_schema_sequences_nameFetch a sequenceNo parameters
sequence_api/delete_api_v2_databases_database_schemas_schema_sequences_nameDelete a sequenceifExists (string)
sequence_api/post_api_v2_databases_database_schemas_schema_sequences_by_name_cloneCreate a new sequence by cloning from the specified resourcename (string) required
createMode (string)
targetDatabase (string)
targetSchema (string)
data: {
. name (string)
. start (integer)
. increment (integer)
. ordered (boolean)
. comment (string)
} (object) required
sequence_api/post_api_v2_databases_database_schemas_schema_sequences_by_name_renameRename a sequence with a new identifiername (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
sequence_api/get_api_v2_databases_database_schemas_schema_sequencesList sequenceslike (string)
sequence_api/post_api_v2_databases_database_schemas_schema_sequencesCreate a sequencecreateMode (string)
data: {
. name (string)
. start (integer)
. increment (integer)
. ordered (boolean)
. comment (string)
} (object) required
api_integration_api/get_api_v2_api_integrations_nameFetch an API integrationNo parameters
api_integration_api/put_api_v2_api_integrations_nameCreate an or alter an existing API integration. Note that API_KEY is not currently altered by this operation and is supported for a newly-created object only. Unsetting API_BLOCKED_PREFIXES is also unsupported.data: {
. name (string)
. api_hook (object)
. api_allowed_prefixes (array)
. enabled (boolean)
. api_blocked_prefixes (array)
. comment (string)
} (object) required
api_integration_api/delete_api_v2_api_integrations_nameDelete an API integrationifExists (string)
api_integration_api/get_api_v2_api_integrationsList API integrationslike (string)
api_integration_api/post_api_v2_api_integrationsCreate an API integrationcreateMode (string)
data: {
. name (string)
. api_hook (object)
. api_allowed_prefixes (array)
. enabled (boolean)
. api_blocked_prefixes (array)
. comment (string)
} (object) required
catalog_integration_api/get_api_v2_catalog_integrations_nameFetch a catalog integration.No parameters
catalog_integration_api/delete_api_v2_catalog_integrations_nameDelete a catalog integration.ifExists (string)
catalog_integration_api/get_api_v2_catalog_integrationsList catalog integrations.like (string)
catalog_integration_api/post_api_v2_catalog_integrationsCreate a catalog integration.createMode (string)
data: {
. name (string)
. catalog (object)
. table_format (string)
. enabled (boolean)
. comment (string)
} (object) required
notification_integration_api/get_api_v2_notification_integrations_nameFetch a notification integrationNo parameters
notification_integration_api/delete_api_v2_notification_integrations_nameDelete a notification integrationifExists (string)
notification_integration_api/get_api_v2_notification_integrationsList notification integrationslike (string)
notification_integration_api/post_api_v2_notification_integrationsCreate a notification integrationcreateMode (string)
data: {
. name (string)
. notification_hook (object)
. enabled (boolean)
. comment (string)
} (object) required
external_volume_api/get_api_v2_external_volumes_nameFetch an external volumeNo parameters
external_volume_api/delete_api_v2_external_volumes_nameDelete an external volumeifExists (string)
external_volume_api/post_api_v2_external_volumes_by_name_undropUndrop an external volumename (string) required
external_volume_api/get_api_v2_external_volumesList external volumeslike (string)
external_volume_api/post_api_v2_external_volumesCreate an external volumecreateMode (string)
data: {
. name (string)
. storage_locations (array)
. allow_writes (boolean)
. comment (string)
} (object) required
warehouse_api/get_api_v2_warehouses_nameDescribes the warehouse, show information of the chosen warehouse. Equivalent to DESCRIBE WAREHOUSE in SQL.No parameters
warehouse_api/delete_api_v2_warehouses_nameRemoves the specified virtual warehouse from the system. Equivalent to DROP WAREHOUSE in SQL.ifExists (string)
warehouse_api/put_api_v2_warehouses_nameCreate a or alter an existing warehouse. Even if the operation is just an alter, the full property set must be provided.data: {
. name (string)
. warehouse_type (string)
. warehouse_size (string)
. wait_for_completion (string)
. max_cluster_count (integer)
. min_cluster_count (integer)
. scaling_policy (string)
. auto_suspend (integer)
. auto_resume (string)
. initially_suspended (string)
. resource_monitor (string)
. comment (string)
. enable_query_acceleration (string)
. query_acceleration_max_scale_factor (integer)
. max_concurrency_level (integer)
. statement_queued_timeout_in_seconds (integer)
. statement_timeout_in_seconds (integer)
. type (string)
. size (string)
. warehouse_credit_limit (integer)
. target_statement_size (string)
} (object) required
warehouse_api/post_api_v2_warehouses_by_name_resumeBring current warehouse to a usable ‘Running’ state by provisioning compute resources if current warehouse is suspended.name (string) required
ifExists (string)
warehouse_api/post_api_v2_warehouses_by_name_suspendRemove all compute nodes from a warehouse and put the warehouse into a ‘Suspended’ state if current warehouse is not suspended.name (string) required
ifExists (string)
warehouse_api/post_api_v2_warehouses_by_name_renameSpecifies a new identifier for the warehouse; must be unique for current account.name (string) required
ifExists (string)
data: {
. name (string)
. warehouse_type (string)
. warehouse_size (string)
. wait_for_completion (string)
. max_cluster_count (integer)
. min_cluster_count (integer)
. scaling_policy (string)
. auto_suspend (integer)
. auto_resume (string)
. initially_suspended (string)
. resource_monitor (string)
. comment (string)
. enable_query_acceleration (string)
. query_acceleration_max_scale_factor (integer)
. max_concurrency_level (integer)
. statement_queued_timeout_in_seconds (integer)
. statement_timeout_in_seconds (integer)
. type (string)
. size (string)
. warehouse_credit_limit (integer)
. target_statement_size (string)
} (object) required
warehouse_api/post_api_v2_warehouses_by_name_abortAborts all the queries currently running or queued on the warehouse.name (string) required
ifExists (string)
warehouse_api/post_api_v2_warehouses_by_name_useDeprecated Specifies the active/current warehouse for the session.name (string) required
warehouse_api/post_api_v2_warehouses_by_name_enableEnable an adaptive warehouse and put the warehouse into a ‘enabled’ state, if the warehouse is not enabled.name (string) required
ifExists (string)
warehouse_api/post_api_v2_warehouses_by_name_disableDisable an adaptive warehouse and put the warehouse into a ‘disabled’ state, if the warehouse is not disabled.name (string) required
ifExists (string)
warehouse_api/post_api_v2_warehousesCreate a virtual warehouse. Equivalent to CREATE WAREHOUSE in SQL.createMode (string)
data: {
. name (string)
. warehouse_type (string)
. warehouse_size (string)
. wait_for_completion (string)
. max_cluster_count (integer)
. min_cluster_count (integer)
. scaling_policy (string)
. auto_suspend (integer)
. auto_resume (string)
. initially_suspended (string)
. resource_monitor (string)
. comment (string)
. enable_query_acceleration (string)
. query_acceleration_max_scale_factor (integer)
. max_concurrency_level (integer)
. statement_queued_timeout_in_seconds (integer)
. statement_timeout_in_seconds (integer)
. type (string)
. size (string)
. warehouse_credit_limit (integer)
. target_statement_size (string)
} (object) required
warehouse_api/get_api_v2_warehousesShow a list of warehouse filtered by pattern. Equivalent to SHOW WAREHOUSE in SQL.like (string)
compute_pools_api/get_api_v2_compute_pools_nameFetches a named compute pool. You can get the name of the compute pool from the /api/v2/compute-pools GET request.No parameters
compute_pools_api/put_api_v2_compute_pools_nameCreate a or alter an existing compute pool. Even if the operation is just an alter, the full property set must be provided.data: {
. name (string)
. warehouse (string)
. min_nodes (integer)
. max_nodes (integer)
. instance_family (string)
. auto_resume (boolean)
. comment (string)
. state (string)
. num_services (integer)
. num_jobs (integer)
. auto_suspend_secs (integer)
. active_nodes (integer)
. idle_nodes (integer)
. target_nodes (integer)
. created_on (string)
. updated_on (string)
. resumed_on (string)
. owner (string)
. is_exclusive (boolean)
. application (string)
. budget (string)
. error_code (string)
. status_message (string)
. desired_nodes (integer)
. desired_nodes_expire_after (string)
. placement_group (string)
} (object) required
compute_pools_api/delete_api_v2_compute_pools_nameDeletes a compute pool with the given name. If you enable the ifExists parameter, the operation succeeds even if the object does not exist. Otherwise, a 404 failure is returned if the object does not exist.ifExists (string)
compute_pools_api/post_api_v2_compute_pools_by_name_resumeResume a compute pool, if suspended. If the specified compute pool is already running, this will cause a 400 Bad Request error.name (string) required
compute_pools_api/post_api_v2_compute_pools_by_name_suspendSuspend a compute pool, if active. If the specified compute pool is already suspended, no action is taken.name (string) required
compute_pools_api/post_api_v2_compute_pools_by_name_stopallservicesStops all services in the compute pool. Deprecated - use :stop-all-services instead.name (string) required
compute_pools_api/post_api_v2_compute_pools_by_name_stop_all_servicesStops all services in the compute pool.name (string) required
compute_pools_api/get_api_v2_compute_pools_instance_familiesLists all available instance families that can be used when creating compute pools.No parameters
compute_pools_api/get_api_v2_compute_poolsLists the compute pools under the account.like (string)
startsWith (string)
showLimit (string)
compute_pools_api/post_api_v2_compute_poolsCreates a compute pool, with standard create modifiers as query parameters. See the Compute Pool component definition for what is required to be provided in the request body.createMode (string)
initiallySuspended (string)
data: {
. name (string)
. warehouse (string)
. min_nodes (integer)
. max_nodes (integer)
. instance_family (string)
. auto_resume (boolean)
. comment (string)
. state (string)
. num_services (integer)
. num_jobs (integer)
. auto_suspend_secs (integer)
. active_nodes (integer)
. idle_nodes (integer)
. target_nodes (integer)
. created_on (string)
. updated_on (string)
. resumed_on (string)
. owner (string)
. is_exclusive (boolean)
. application (string)
. budget (string)
. error_code (string)
. status_message (string)
. desired_nodes (integer)
. desired_nodes_expire_after (string)
. placement_group (string)
} (object) required
notebook_api/get_api_v2_databases_database_schemas_schema_notebooks_nameFetch a notebookNo parameters
notebook_api/delete_api_v2_databases_database_schemas_schema_notebooks_nameDelete a notebookifExists (string)
notebook_api/post_api_v2_databases_database_schemas_schema_notebooks_by_name_executeExecute a Notebookname (string) required
asyncExec (string)
notebook_api/post_api_v2_databases_database_schemas_schema_notebooks_by_name_renameChanges the name of the notebook to new name. The new identifier must be unique for the schema.name (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
notebook_api/post_api_v2_databases_database_schemas_schema_notebooks_by_name_add_live_versionAdds a LIVE version to the notebookname (string) required
fromLast (string)
comment (string)
notebook_api/post_api_v2_databases_database_schemas_schema_notebooks_by_name_commitIf a Git connection is set up for the notebook, commits the LIVE version of the notebook to the Git repositoryname (string) required
version (string)
comment (string)
notebook_api/get_api_v2_databases_database_schemas_schema_notebooksList notebookslike (string)
startsWith (string)
showLimit (string)
fromName (string)
notebook_api/post_api_v2_databases_database_schemas_schema_notebooksCreate a notebookcreateMode (string)
data: {
. name (string)
. version (string)
. fromLocation (string)
. main_file (string)
. comment (string)
. default_version (string)
. query_warehouse (string)
. title (string)
. runtime_name (string)
. compute_pool (string)
. import_urls (array)
. external_access_integrations (array)
. idle_auto_shutdown_time_seconds (integer)
. default_version_details (object)
. last_version_details (object)
} (object) required
services_api/get_api_v2_databases_database_schemas_schema_services_name_logsFetch the logs for a given service.instanceId (string)
containerName (string)
numLines (string)
services_api/get_api_v2_databases_database_schemas_schema_services_name_statusFetch the status for a given service. Deprecated - use listServiceContainers instead.timeout (string)
services_api/get_api_v2_databases_database_schemas_schema_services_name_containersList all the containers of the serviceNo parameters
services_api/get_api_v2_databases_database_schemas_schema_services_name_instancesList all the instances of the serviceNo parameters
services_api/get_api_v2_databases_database_schemas_schema_services_name_rolesList all the service roles of the serviceNo parameters
services_api/get_api_v2_databases_database_schemas_schema_services_name_endpointsLists the endpoints in a Snowpark Container Services service or a job service.No parameters
services_api/get_api_v2_databases_database_schemas_schema_services_nameFetch a service.No parameters
services_api/put_api_v2_databases_database_schemas_schema_services_nameCreate a or alter an existing service. Even if the operation is just an alter, the full property set must be provided.data: {
. name (string)
. compute_pool (string)
. spec (object)
. min_ready_instances (integer)
. min_instances (integer)
. max_instances (integer)
. database_name (string)
. schema_name (string)
. owner (string)
. is_job (boolean)
} (object) required
services_api/delete_api_v2_databases_database_schemas_schema_services_nameDelete a service with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful.ifExists (string)
services_api/get_api_v2_databases_database_schemas_schema_services_service_roles_name_grants_ofList all the grants of the service roleNo parameters
services_api/get_api_v2_databases_database_schemas_schema_services_service_roles_name_grantsList all the grants given to the service roleNo parameters
services_api/post_api_v2_databases_database_schemas_schema_services_by_name_resumeResume a service.name (string) required
ifExists (string)
services_api/post_api_v2_databases_database_schemas_schema_services_by_name_suspendSuspend a service.name (string) required
ifExists (string)
services_api/get_api_v2_databases_database_schemas_schema_servicesLists the services under the database and schema.like (string)
startsWith (string)
showLimit (string)
fromName (string)
services_api/post_api_v2_databases_database_schemas_schema_servicesCreate a service, with standard create modifiers as query parameters. See the Service component definition for what is required to be provided in the request body.createMode (string)
data: {
. name (string)
. compute_pool (string)
. spec (object)
. min_ready_instances (integer)
. min_instances (integer)
. max_instances (integer)
. database_name (string)
. schema_name (string)
. owner (string)
. is_job (boolean)
} (object) required
services_api/post_api_v2_databases_database_schemas_schema_services_execute_jobCreate and execute a job service. See the JobService component definition for what is required to be provided in the request body.data: {
. name (string)
. compute_pool (string)
. spec (object)
} (object) required
streamlit_api/get_api_v2_databases_database_schemas_schema_streamlits_nameFetch detailed information about a specific Streamlit by name, including metadata, configuration, and version details.No parameters
streamlit_api/delete_api_v2_databases_database_schemas_schema_streamlits_nameDelete a Streamlit. The Streamlit can be restored using undrop within the retention period.ifExists (string)
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_undropRestore a previously deleted Streamlit within the retention period.name (string) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_renameRename a Streamlit to a new name, optionally in a different database or schema.name (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_add_live_versionAdd a live version to the Streamlit, making a specific version active for users.name (string) required
fromLast (string)
data: {
. version (object)
} (object) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_commitIf a Git connection is set up, commit the LIVE version of the Streamlit to the Git repository.name (string) required
data: {
. version (object)
} (object) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_add_versionAdd a new version to the Streamlit by copying files from a specified stage location.name (string) required
data: {
. source_location (string)
. version (object)
} (object) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_add_version_from_gitAdd a new version to the Streamlit using a Git reference URI. The URI can point to either a tag or a commit.name (string) required
data: {
. version (object)
. git_ref (string)
} (object) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_abortAbort the live version of the Streamlit, discarding uncommitted changes if a Git connection is configured.name (string) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_pullPull the latest changes from the Git repository for a Streamlit with Git integration.name (string) required
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlits_by_name_pushPush committed changes from the Streamlit back to its connected Git repository.name (string) required
data: {
. auth_type (string)
} (object) required
streamlit_api/get_api_v2_databases_database_schemas_schema_streamlitsList Streamlits in a schema. Supports filtering with pattern matching.like (string)
startsWith (string)
showLimit (string)
fromName (string)
streamlit_api/post_api_v2_databases_database_schemas_schema_streamlitsCreate a new Streamlit application, or replace an existing one. Supports CREATE, CREATE OR REPLACE, and CREATE IF NOT EXISTS modes.createMode (string)
data: {
. name (string)
. comment (string)
. imports (array)
. external_access_integrations (array)
. title (string)
. main_file (string)
. query_warehouse (string)
. default_version (string)
. default_version_details (object)
. last_version_details (object)
. source_location (string)
} (object) required
spark_connect_api/post_api_v2_spark_connect_execute_planExecutes a request that contains the query and returns a stream of ExecutePlanResponse.data (object) required
spark_connect_api/post_api_v2_spark_connect_analyze_planAnalyzes a query and return a AnalyzeResponse containing metadata about the query.data (object) required
spark_connect_api/post_api_v2_spark_connect_configUpdate or fetch the configurations and returns a ConfigResponse containing the result.data (object) required
spark_connect_api/post_api_v2_spark_connect_add_artifactsAdd artifacts to the session and returns a AddArtifactsResponse containing metadata about the added artifacts.data (object) required
spark_connect_api/post_api_v2_spark_connect_artifact_statusCheck statuses of artifacts in the session and returns them in a ArtifactStatusesResponsedata (object) required
spark_connect_api/post_api_v2_spark_connect_interruptInterrupts running executionsdata (object) required
spark_connect_api/post_api_v2_spark_connect_reattach_executeReattach to an existing re-attachable execution.data (object) required
spark_connect_api/post_api_v2_spark_connect_release_executeRelease an re-attachable execution, or parts thereof.data (object) required
spark_connect_api/post_api_v2_spark_connect_pull_requestGet the next Spark request.data (object) required
spark_connect_api/post_api_v2_spark_connect_push_responseExecutes a request from sproc that contains the Spark response.data (object) required
artifact_repository_api/get_api_v2_databases_database_schemas_schema_artifact_repositories_nameFetch an artifact repositoryNo parameters
artifact_repository_api/delete_api_v2_databases_database_schemas_schema_artifact_repositories_nameDelete an artifact repositoryifExists (string)
artifact_repository_api/put_api_v2_databases_database_schemas_schema_artifact_repositories_nameCreate or update an artifact repositorydata: {
. name (string)
. type (string)
. api_integration (string)
. comment (string)
} (object) required
artifact_repository_api/post_api_v2_databases_database_schemas_schema_artifact_repositories_by_name_renameChanges the name of an artifact repositoryname (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
artifact_repository_api/get_api_v2_databases_database_schemas_schema_artifact_repositoriesList artifact repositorieslike (string)
startsWith (string)
showLimit (string)
fromName (string)
artifact_repository_api/post_api_v2_databases_database_schemas_schema_artifact_repositoriesCreate an artifact repositorycreateMode (string)
data: {
. name (string)
. type (string)
. api_integration (string)
. comment (string)
} (object) required
image_repository_api/get_api_v2_databases_database_schemas_schema_image_repositories_name_imagesList images in the given image repository.No parameters
image_repository_api/get_api_v2_databases_database_schemas_schema_image_repositories_nameFetches a named image repository in a specified database and schema.No parameters
image_repository_api/delete_api_v2_databases_database_schemas_schema_image_repositories_nameDeletes an image repository with the given name. If you enable the ifExists query parameter, the operation succeeds even if the object does not exist. Otherwise, a 404 failure is returned if the object does not exist.ifExists (string)
image_repository_api/get_api_v2_databases_database_schemas_schema_image_repositoriesLists the image repositories under a specified database and schema.like (string)
image_repository_api/post_api_v2_databases_database_schemas_schema_image_repositoriesCreates an image repository in the specified database, schema, and create mode. The createMode query parameter specifies what action to take based on whether the repository already exists. See the ImageRepository component definition for what is required to be provided in the request body.createMode (string)
data (object) required
result_api/get_api_v2_results_result_handlerGet result status or the result when it is ready.page (string)
sql_api/post_api_v2_statements_statement_handle_cancelCancels the execution of the statement with the specified statement handle.requestId (string)
sql_api/get_api_v2_statements_statement_handleChecks the status of the execution of the statement with the specified statement handle. If the statement was executed successfully, the operation returns the requested partition of the result set.requestId (string)
partition (string)
sql_api/post_api_v2_statementsSubmits one or more statements for execution. You can specify that the statement should be executed asynchronously.requestId (string)
async (string)
nullable (string)
data: {
. statement (string)
. timeout (integer)
. database (string)
. schema (string)
. warehouse (string)
. bindings (object)
} (object) required
tag_api/get_api_v2_databases_database_schemas_schema_tags_nameFetch a tagNo parameters
tag_api/delete_api_v2_databases_database_schemas_schema_tags_nameDelete a tagifExists (string)
tag_api/put_api_v2_databases_database_schemas_schema_tags_nameCreate or update a tagdata: {
. name (string)
. allowed_values (array)
. propagate (string)
. on_conflict (string)
. comment (string)
} (object) required
tag_api/post_api_v2_databases_database_schemas_schema_tags_by_name_undropUndrop a tagname (string) required
tag_api/post_api_v2_databases_database_schemas_schema_tags_by_name_renameRename a tag with a new identifiername (string) required
ifExists (string)
targetDatabase (string)
targetSchema (string)
targetName (string)
tag_api/get_api_v2_databases_database_schemas_schema_tagsList tagslike (string)
tag_api/post_api_v2_databases_database_schemas_schema_tagsCreate a tagcreateMode (string)
data: {
. name (string)
. allowed_values (array)
. propagate (string)
. on_conflict (string)
. comment (string)
} (object) required