Snowflake · Arazzo Workflow
Snowflake Submit SQL Statement and Poll for Results
Version 1.0.0
Submit a SQL statement for execution, poll its status, then fetch the result set.
View Spec
View on GitHub
DataData WarehouseData LakehouseCloud Data PlatformAnalyticsArtificial IntelligenceData EngineeringData GovernanceSQLApache IcebergModel Context ProtocolT1ArazzoWorkflows
Provider
Workflows
submit-sql-statement-and-poll
Submit a SQL statement, poll its execution status, and retrieve the results.
Submits a single SQL statement bound to a warehouse/database/schema/role, then branches on the response: a 200 returns the result set directly while a 202 hands back a statement handle that is polled via getStatementStatus until the statement finishes.
1
submitStatement
Submit the SQL statement synchronously. If execution completes quickly the result set is returned with a 200; otherwise a 202 is returned with a statement handle to poll.
2
pollStatus
Check the status of the statement execution by its handle. A 202 means the statement is still in progress; a 200 means it finished and the requested partition of the result set is returned.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.