Snowflake · Schema
StatementRequest
Request body for submitting a SQL statement for execution.
DataData WarehouseData LakehouseCloud Data PlatformAnalyticsArtificial IntelligenceData EngineeringData GovernanceSQLApache IcebergModel Context ProtocolT1
Properties
| Name | Type | Description |
|---|---|---|
| statement | string | SQL statement or batch of SQL statements to execute. You can specify query, DML and DDL statements. The following statements are not supported: PUT, GET, USE, ALTER SESSION, BEGIN, COMMIT, ROLLBACK, s |
| timeout | integer | Timeout 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 (6 |
| database | string | Database in which the statement should be executed. The value in this field is case-sensitive. |
| schema | string | Schema in which the statement should be executed. The value in this field is case-sensitive. |
| warehouse | string | Warehouse to use when executing the statement. The value in this field is case-sensitive. |
| role | string | Role to use when executing the statement. The value in this field is case-sensitive. |
| bindings | object | Values of bind variables in the SQL statement. When executing the statement, Snowflake replaces placeholders (? and :name) in the statement with these specified values. |
| parameters | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StatementRequest",
"title": "StatementRequest",
"type": "object",
"description": "Request body for submitting a SQL statement for execution.",
"properties": {
"statement": {
"type": "string",
"description": "SQL statement or batch of SQL statements to execute. You can specify query, DML and DDL statements. The following statements are not supported: PUT, GET, USE, ALTER SESSION, BEGIN, COMMIT, ROLLBACK, statements that set session variables, and statements that create temporary tables and stages.",
"examples": [
"select * from T where c1=?",
"CREATE TABLE test_table (id INTEGER, name VARCHAR)"
]
},
"timeout": {
"type": "integer",
"format": "int64",
"minimum": 0,
"description": "Timeout 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.",
"examples": [
10,
60
]
},
"database": {
"type": "string",
"description": "Database in which the statement should be executed. The value in this field is case-sensitive.",
"examples": [
"TESTDB"
]
},
"schema": {
"type": "string",
"description": "Schema in which the statement should be executed. The value in this field is case-sensitive.",
"examples": [
"TESTSCHEMA"
]
},
"warehouse": {
"type": "string",
"description": "Warehouse to use when executing the statement. The value in this field is case-sensitive.",
"examples": [
"TESTWH"
]
},
"role": {
"type": "string",
"description": "Role to use when executing the statement. The value in this field is case-sensitive.",
"examples": [
"TESTROLE"
]
},
"bindings": {
"type": "object",
"description": "Values of bind variables in the SQL statement. When executing the statement, Snowflake replaces placeholders (? and :name) in the statement with these specified values.",
"additionalProperties": {
"$ref": "#/components/schemas/BindVariable"
},
"example": "example_value"
},
"parameters": {
"$ref": "#/components/schemas/SessionParameters"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snowflake-statementrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.