
integration_id can be found on your integration’s page URL:

Query Database Integrations With SQL
You can query your databases with SQL through the API.Python
cURL
Query Cube Integrations
You can also query Cube through the API by passing in a Cube query in JSON format.Python
cURL
List Integrations
Get all integrations for your team.Python
cURL
Create Integration
Create a new integration with credentials. The integration will be validated (connection tested) before being saved. Credential requirements by integration type:- PostgreSQL/MySQL/Redshift/SQL Server:
host,port,database,username,password - BigQuery:
project_id,credentials_json(service account JSON) - Snowflake:
account,username,password,warehouse,database
Python
cURL
Configure Sync
Configure a data sync from a source integration to DuckLake. This allows you to automatically sync data from your databases or SaaS tools into Definite’s data lake. Parameters:dest_schema: Schema name in the destination (e.g.,POSTGRES_DATA)schedule: Sync frequency - one of:hourly,every_4_hours,every_6_hours,every_12_hours,daily,weeklytables: For database sources, specify tables to sync (e.g.,["public.users", "public.orders"]or["public.*"]for all tables in a schema)load_method: How to load data -merge(default),append, oroverwritedest_integration_id: (Optional) Destination integration UUID. Defaults to your team’s DuckLake.

