This connector is optimized for AI agents. For the data replication connector, see Snowflake .
This is the full reference documentation for the Snowflake agent connector.
Supported entities and actions
The Snowflake connector supports the following entities and actions.
Databases
Databases List
List databases
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "databases", "action": "list" }'
Python SDK
await snowflake . databases . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "databases", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW DATABASES"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Schemas
Schemas List
List schemas
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "schemas", "action": "list" }'
Python SDK
await snowflake . schemas . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "schemas", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW SCHEMAS"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Tables
Tables List
List tables
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "tables", "action": "list" }'
Python SDK
await snowflake . tables . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "tables", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW TABLES"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Views
Views List
List views
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "views", "action": "list" }'
Python SDK
await snowflake . views . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "views", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW VIEWS"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Warehouses
Warehouses List
List warehouses
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "warehouses", "action": "list" }'
Python SDK
await snowflake . warehouses . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "warehouses", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW WAREHOUSES"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Columns
Columns List
List columns
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "columns", "action": "list" }'
Python SDK
await snowflake . columns . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "columns", "action": "list" }'
Parameters
Parameter Name Type Required Description statement"SHOW COLUMNS"No SQL statement to execute databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Record
Record Get
Execute a SQL SELECT statement and return the result set. Typically used to retrieve a single row by filtering on a unique identifier (e.g., SELECT * FROM users WHERE id = 42). The result is returned as rows, the same shape as the list action; when the SELECT targets one row the result contains a single row. Intended for row retrieval only. This is not a general-purpose SQL endpoint: it does not perform DDL/DCL (DROP, TRUNCATE, GRANT, CREATE) — issue the matching CRUD action for the operation you intend. Parameterized bind variables (the SQL API bindings field / ? placeholders) are not supported in this beta; inline literal values into the statement.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "record", "action": "get", "params": { "statement": "<str>" } }'
Python SDK
await snowflake . record . get ( statement = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "record", "action": "get", "params": { "statement": "<str>" } }'
Parameters
Parameter Name Type Required Description statementstringYes SQL SELECT statement to retrieve a single record (e.g., SELECT * FROM users WHERE id = 42) databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Record List
Execute a SQL SELECT query that returns multiple records from a Snowflake table or view. Use this action when you need to retrieve a set of rows, optionally with filtering, sorting, or limiting (e.g., SELECT * FROM orders WHERE status = 'active' ORDER BY created_at DESC LIMIT 100). Intended for row retrieval only. This is not a general-purpose SQL endpoint: it does not perform DDL/DCL (DROP, TRUNCATE, GRANT, CREATE) — issue the matching CRUD action for the operation you intend. Parameterized bind variables (the SQL API bindings field / ? placeholders) are not supported in this beta; inline literal values into the statement.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "record", "action": "list", "params": { "statement": "<str>" } }'
Python SDK
await snowflake . record . list ( statement = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "record", "action": "list", "params": { "statement": "<str>" } }'
Parameters
Parameter Name Type Required Description statementstringYes SQL SELECT statement to retrieve multiple records (e.g., SELECT * FROM orders WHERE status = 'active' LIMIT 100) databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Field Name Type Description next_page_urlstringrequest_idstringstatement_handlestringpartition_infoarray<object>
Record Create
Execute a SQL INSERT statement to create one or more new rows in a Snowflake table (e.g., INSERT INTO users (name, email) VALUES ('Alice', '[email protected] ')). Intended for row insertion only. This is not a general-purpose SQL endpoint: it does not perform DDL/DCL (DROP, TRUNCATE, GRANT, CREATE TABLE) — issue the matching CRUD action for the operation you intend. Parameterized bind variables (the SQL API bindings field / ? placeholders) are not supported in this beta; inline literal values into the statement.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "record", "action": "create", "params": { "statement": "<str>", "database": "<str>", "schema": "<str>", "warehouse": "<str>", "role": "<str>", "timeout": 0, "parameters": {}, "requestId": "<str>", "retry": true } }'
Python SDK
await snowflake . record . create ( statement = "<str>" , database = "<str>" , schema = "<str>" , warehouse = "<str>" , role = "<str>" , timeout = 0 , parameters = { } , request_id = "<str>" , retry = True )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "record", "action": "create", "params": { "statement": "<str>", "database": "<str>", "schema": "<str>", "warehouse": "<str>", "role": "<str>", "timeout": 0, "parameters": {}, "requestId": "<str>", "retry": True } }'
Parameters
Parameter Name Type Required Description statementstringYes SQL INSERT statement to create new records (e.g., INSERT INTO users (name, email) VALUES ('Alice', '[email protected] ')) databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution requestIdstringNo Unique request ID for this DML statement. Reuse the SAME requestId when resubmitting after a network error or timeout so Snowflake deduplicates instead of executing the statement again. retrybooleanNo Set to true when resubmitting a previously-sent statement with the same requestId, so Snowflake treats it as a safe retry rather than a new DML.
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Record Update
Execute a SQL UPDATE statement to modify existing rows in a Snowflake table (e.g., UPDATE users SET email = '[email protected] ' WHERE id = 7). Intended for row modification only. This is not a general-purpose SQL endpoint: it does not perform DDL/DCL (DROP, TRUNCATE, GRANT, ALTER) — issue the matching CRUD action for the operation you intend. Parameterized bind variables (the SQL API bindings field / ? placeholders) are not supported in this beta; inline literal values into the statement.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "record", "action": "update", "params": { "statement": "<str>", "database": "<str>", "schema": "<str>", "warehouse": "<str>", "role": "<str>", "timeout": 0, "parameters": {}, "requestId": "<str>", "retry": true } }'
Python SDK
await snowflake . record . update ( statement = "<str>" , database = "<str>" , schema = "<str>" , warehouse = "<str>" , role = "<str>" , timeout = 0 , parameters = { } , request_id = "<str>" , retry = True )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "record", "action": "update", "params": { "statement": "<str>", "database": "<str>", "schema": "<str>", "warehouse": "<str>", "role": "<str>", "timeout": 0, "parameters": {}, "requestId": "<str>", "retry": True } }'
Parameters
Parameter Name Type Required Description statementstringYes SQL UPDATE statement to modify existing records (e.g., UPDATE users SET email = '[email protected] ' WHERE id = 7) databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution requestIdstringNo Unique request ID for this DML statement. Reuse the SAME requestId when resubmitting after a network error or timeout so Snowflake deduplicates instead of executing the statement again. retrybooleanNo Set to true when resubmitting a previously-sent statement with the same requestId, so Snowflake treats it as a safe retry rather than a new DML.
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Record Delete
Execute a SQL DELETE statement to remove rows from a Snowflake table (e.g., DELETE FROM logs WHERE id = 99). Intended for row deletion only. This is not a general-purpose SQL endpoint: it does not perform DDL/DCL (DROP, TRUNCATE, GRANT, CREATE) — issue the matching CRUD action for the operation you intend. Parameterized bind variables (the SQL API bindings field / ? placeholders) are not supported in this beta; inline literal values into the statement.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "record", "action": "delete", "params": { "statement": "<str>" } }'
Python SDK
await snowflake . record . delete ( statement = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "record", "action": "delete", "params": { "statement": "<str>" } }'
Parameters
Parameter Name Type Required Description statementstringYes SQL DELETE statement to remove records (e.g., DELETE FROM logs WHERE id = 99) databasestringNo Database context for the statement schemastringNo Schema context for the statement warehousestringNo Warehouse to use for execution rolestringNo Role to use for execution timeoutintegerNo Timeout in seconds for the statement execution parametersobjectNo Session parameters for the statement execution requestIdstringNo Unique request ID for this DML statement. Reuse the SAME requestId when resubmitting after a network error or timeout so Snowflake deduplicates instead of executing the statement again. retrybooleanNo Set to true when resubmitting a previously-sent statement with the same requestId, so Snowflake treats it as a safe retry rather than a new DML.
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject
Result Partitions
Result Partitions Get
Continuation helper for Snowflake list actions. Use this only after a databases, schemas, tables, views, warehouses, or columns list response includes a next_page_url or multiple partitionInfo entries. The initial list response contains partition 0; call this action with partition 1, 2, and so on to retrieve additional rows for the same SHOW statement. This is not a standalone Snowflake resource and does not execute new SQL.
CLI
airbyte-agent connectors execute --json '{ "workspace": "<your_workspace_name>", "name": "snowflake", "entity": "result_partitions", "action": "get", "params": { "statementHandle": "<str>", "partition": 0 } }'
Python SDK
await snowflake . result_partitions . get ( statement_handle = "<str>" , partition = 0 )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "result_partitions", "action": "get", "params": { "statementHandle": "<str>", "partition": 0 } }'
Parameters
Parameter Name Type Required Description statementHandlestringYes Statement handle returned by the initial list response metadata. Reuse this value when fetching additional partitions for that same result set. partitionintegerYes Zero-based partition number to retrieve. The initial list response contains partition 0; request partition 1 or higher for subsequent pages. requestIdstringNo Optional request ID from the initial list response metadata. Pass it through when available to continue the same Snowflake SQL API request.
Response Schema Records Field Name Type Description requestIdstringresultSetMetaDataobjectresultSetMetaData.numRowsintegerresultSetMetaData.formatstringresultSetMetaData.rowTypearray<object>resultSetMetaData.rowType[].namestringresultSetMetaData.rowType[].databasestringresultSetMetaData.rowType[].schemastringresultSetMetaData.rowType[].tablestringresultSetMetaData.rowType[].typestringresultSetMetaData.rowType[].scaleinteger | anyresultSetMetaData.rowType[].precisioninteger | anyresultSetMetaData.rowType[].lengthinteger | anyresultSetMetaData.rowType[].nullablebooleanresultSetMetaData.rowType[].byteLengthinteger | anyresultSetMetaData.rowType[].collationstring | anyresultSetMetaData.partitionInfoarray<object>resultSetMetaData.partitionInfo[].rowCountintegerresultSetMetaData.partitionInfo[].uncompressedSizeintegerresultSetMetaData.partitionInfo[].compressedSizeintegerdataarray<array<string | any>>codestringstatementStatusUrlstringsqlStatestringstatementHandlestringmessagestringcreatedOnintegerstatsobject