Snowflake
snowflakeSnowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments
Acciones disponibles (15)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel Statement ExecutionSNOWFLAKE_CANCEL_STATEMENT_EXECUTIONAcciónCancels the execution of a running sql statement. use this action to stop a long-running query.
SNOWFLAKE_CANCEL_STATEMENT_EXECUTIONAcciónCancels the execution of a running sql statement. use this action to stop a long-running query.
Parámetros de entrada
request_idstringUnique ID (a UUID) of the API request. This is an optional parameter that can be used to track the request.
statementHandlestringObligatorioThe handle of the statement to be cancelled. This can be obtained from the response of the execute_statement action.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Execute SQLSNOWFLAKE_EXECUTE_SQLAcciónTool to execute a sql statement and return the resulting data. use when you need to query data from snowflake.
SNOWFLAKE_EXECUTE_SQLAcciónTool to execute a sql statement and return the resulting data. use when you need to query data from snowflake.
Parámetros de entrada
rolestringThe role to be used for the query.
timeoutintegerThe timeout for the query in seconds.
bindingsobjectA dictionary of bindings to be used in the SQL statement.
databasestringThe database to be used for the query.
statementstringObligatorioThe SQL statement to be executed.
warehousestringThe warehouse to be used for the query.
parametersobjectA dictionary of parameters to be used in the SQL statement.
schema_namestringThe schema to be used for the query.
Parámetros de salida
dataarray[]ObligatorioThe result set of the executed SQL statement.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fetch Catalog IntegrationSNOWFLAKE_FETCH_CATALOG_INTEGRATIONAcciónFetches details of a specific catalog integration.
SNOWFLAKE_FETCH_CATALOG_INTEGRATIONAcciónFetches details of a specific catalog integration.
Parámetros de entrada
namestringObligatorioThe name of the catalog integration to fetch.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Active Scheduled MaintenancesSNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCESAcciónRetrieves a list of any active scheduled maintenances currently in the in progress or verifying state.
SNOWFLAKE_GET_ACTIVE_SCHEDULED_MAINTENANCESAcciónRetrieves a list of any active scheduled maintenances currently in the in progress or verifying state.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get All Scheduled MaintenancesSNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCESAcciónRetrieves a list of the 50 most recent scheduled maintenances, including those in the completed state.
SNOWFLAKE_GET_ALL_SCHEDULED_MAINTENANCESAcciónRetrieves a list of the 50 most recent scheduled maintenances, including those in the completed state.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Component StatusSNOWFLAKE_GET_COMPONENT_STATUSAcciónRetrieves the status of individual components, each listed with its current status.
SNOWFLAKE_GET_COMPONENT_STATUSAcciónRetrieves the status of individual components, each listed with its current status.
Parámetros de entrada
limitintegerLimit number of components returned.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Status RollupSNOWFLAKE_GET_STATUS_ROLLUPAcciónRetrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.
SNOWFLAKE_GET_STATUS_ROLLUPAcciónRetrieves the status rollup for the entire page, including indicators and human-readable descriptions of the blended component status.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Status SummarySNOWFLAKE_GET_STATUS_SUMMARYAcciónRetrieves a summary of the status page, including status indicators, component statuses, unresolved incidents, and upcoming or in-progress scheduled maintenances.
SNOWFLAKE_GET_STATUS_SUMMARYAcciónRetrieves a summary of the status page, including status indicators, component statuses, unresolved incidents, and upcoming or in-progress scheduled maintenances.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Unresolved IncidentsSNOWFLAKE_GET_UNRESOLVED_INCIDENTSAcciónRetrieves a list of any unresolved incidents currently in the investigating, identified, or monitoring state.
SNOWFLAKE_GET_UNRESOLVED_INCIDENTSAcciónRetrieves a list of any unresolved incidents currently in the investigating, identified, or monitoring state.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Upcoming Scheduled MaintenancesSNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCESAcciónRetrieves a list of any upcoming scheduled maintenances still in the scheduled state.
SNOWFLAKE_GET_UPCOMING_SCHEDULED_MAINTENANCESAcciónRetrieves a list of any upcoming scheduled maintenances still in the scheduled state.
Parámetros de entrada
test_idstringTest id for variation
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Show DatabasesSNOWFLAKE_SHOW_DATABASESAcciónLists all databases for which you have access privileges. shows database metadata including name, creation date, owner, retention time, and more. can filter results and include dropped databases within time travel retention period.
SNOWFLAKE_SHOW_DATABASESAcciónLists all databases for which you have access privileges. shows database metadata including name, creation date, owner, retention time, and more. can filter results and include dropped databases within time travel retention period.
Parámetros de entrada
rolestringRole to use when executing the statement.
limitintegerMaximum number of rows to return. Cannot exceed 10000.
tersebooleanIf true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).
historybooleanIf true, includes dropped databases that are still within Time Travel retention period.
timeoutintegerTimeout in seconds for statement execution.
from_namestringUsed with LIMIT for pagination. Returns results starting from databases whose names match this string.
warehousestringWarehouse to use for the query (though SHOW DATABASES doesn't require a running warehouse).
starts_withstringFilters results by databases whose names start with this string. Case-sensitive.
like_patternstringFilters results by database name using SQL wildcard pattern (% and _). Case-insensitive.
Parámetros de salida
dataarray[]ObligatorioList of databases with their metadata. Each row contains database information like name, creation date, owner, etc.
errorstringError if any occurred during the execution of the action
columnsstring[]Column names in the result set.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Show SchemasSNOWFLAKE_SHOW_SCHEMASAcciónLists all schemas for which you have access privileges. shows schema metadata including name, creation date, owner, database, retention time, and more. can filter results and include dropped schemas within time travel retention period.
SNOWFLAKE_SHOW_SCHEMASAcciónLists all schemas for which you have access privileges. shows schema metadata including name, creation date, owner, database, retention time, and more. can filter results and include dropped schemas within time travel retention period.
Parámetros de entrada
rolestringRole to use when executing the statement.
limitintegerMaximum number of rows to return. Cannot exceed 10000.
tersebooleanIf true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).
historybooleanIf true, includes dropped schemas that are still within Time Travel retention period.
timeoutintegerTimeout in seconds for statement execution.
databasestringDatabase context for the query.
in_scopestringScope for the command. Options: 'ACCOUNT', 'DATABASE', or a specific database name.
from_namestringUsed with LIMIT for pagination. Returns results starting from schemas whose names match this string.
warehousestringWarehouse to use for the query (though SHOW SCHEMAS doesn't require a running warehouse).
starts_withstringFilters results by schemas whose names start with this string. Case-sensitive.
like_patternstringFilters results by schema name using SQL wildcard pattern (% and _). Case-insensitive.
Parámetros de salida
dataarray[]ObligatorioList of schemas with their metadata. Each row contains schema information like name, creation date, owner, database, etc.
errorstringError if any occurred during the execution of the action
columnsstring[]Column names in the result set.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Show TablesSNOWFLAKE_SHOW_TABLESAcciónLists all tables for which you have access privileges. shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. can filter results and include dropped tables within time travel retention period.
SNOWFLAKE_SHOW_TABLESAcciónLists all tables for which you have access privileges. shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. can filter results and include dropped tables within time travel retention period.
Parámetros de entrada
rolestringRole to use when executing the statement.
limitintegerMaximum number of rows to return. Cannot exceed 10000.
tersebooleanIf true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).
schemastringSchema context for the query.
historybooleanIf true, includes dropped tables that are still within Time Travel retention period.
timeoutintegerTimeout in seconds for statement execution.
databasestringDatabase context for the query.
in_scopestringScope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.
from_namestringUsed with LIMIT for pagination. Returns results starting from tables whose names match this string.
warehousestringWarehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).
starts_withstringFilters results by tables whose names start with this string. Case-sensitive.
like_patternstringFilters results by table name using SQL wildcard pattern (% and _). Case-insensitive.
Parámetros de salida
dataarray[]ObligatorioList of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.
errorstringError if any occurred during the execution of the action
columnsstring[]Column names in the result set.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Statement StatusSNOWFLAKE_SNOWFLAKE_CHECK_STATEMENT_STATUSAcciónRetrieves the status of a previously submitted sql statement. replace '{statementhandle}' with the unique identifier of the statement.
SNOWFLAKE_SNOWFLAKE_CHECK_STATEMENT_STATUSAcciónRetrieves the status of a previously submitted sql statement. replace '{statementhandle}' with the unique identifier of the statement.
Parámetros de entrada
partitionintegerThe partition number to return. The size of each partition is determined by Snowflake.
requestIdintegerUnique ID of the API request.
statementHandlestringObligatorioThe handle of the statement to be checked.
Parámetros de salida
codestringObligatorioThe response code.
dataarray[]The result set data.
errorstringError if any occurred during the execution of the action
messagestringObligatorioThe response message.
successfulbooleanObligatorioWhether or not the action execution was successful or not
statementHandlestringObligatorioUnique identifier for the statement being executed.
statementStatusUrlstringObligatorioURL to get the statement status and result set.
Submit SQL StatementSNOWFLAKE_SUBMIT_SQL_STATEMENTAcciónSubmits a sql statement for execution.
SNOWFLAKE_SUBMIT_SQL_STATEMENTAcciónSubmits a sql statement for execution.
Parámetros de entrada
rolestringRole to use when executing the statement. The value in this field is case-sensitive. If you omit this field, the SQL API uses the value of the DEFAULT_ROLE property of the user.
schemastringSchema in which the statement should be executed. The value in this field is case-sensitive. If you omit this field, the SQL API uses the schema from the value of the DEFAULT_NAMESPACE property of the user.
timeoutintegerTimeout in seconds for statement execution. If the execution of a statement takes longer than the specified timeout, the execution is automatically canceled. To set the timeout to the maximum value (604800 seconds), set timeout to 0. If this field is not set, the timeout specified by the STATEMENT_TIMEOUT_IN_SECONDS parameter is used.
bindingsobjectValues of bind variables in the SQL statement. When executing the statement, Snowflake replaces placeholders ( ? and :name) in the statement with these specified values.
databasestringDatabase in which the statement should be executed. The value in this field is case-sensitive. If you omit this field, the SQL API uses the database from the value of the DEFAULT_NAMESPACE property of the user.
statementstringObligatorioThe SQL statement to execute.
warehousestringWarehouse to use when executing the statement. The value in this field is case-sensitive. If you omit this field, the SQL API uses the value of the DEFAULT_WAREHOUSE property of the user.
parametersobjectSession parameters that you want to set for this request.
Parámetros de salida
codestringObligatorioThe response code.
dataarray[]The result set data.
errorstringError if any occurred during the execution of the action
statsobjectAn object that contains statistics about the number of rows affected by the DML operation.
messagestringObligatorioA message describing the result of the operation.
sqlStatestringObligatorioThe SQL state.
createdOnintegerObligatorioTimestamp that specifies when the statement execution started.
successfulbooleanObligatorioWhether or not the action execution was successful or not
statementHandlestringObligatorioA unique identifier for the statement being executed.
statementHandlesstring[]An array of unique identifiers for the statements being executed for this request.
resultSetMetaDataobjectAn object that contains metadata about the result set returned.
statementStatusUrlstringObligatorioThe URL to get the statement status and result set.