You will only use this API if you already have definitions defined and context around your schema.

Body Parameters

name
string
required

This is the name of the data source. The one that you will see in the Buster UI.

external_id
string
required

This is the identifier that you assign to your data source.

db_type
enum
required

This is the type of database that you are connecting to. Currently, we support the following: postgres, mysql, mariadb, sqlserver, snowflake, redshift, bigquery, databricks, supabase

environment
prod|dev
required

This is the environment that you are connecting to. Currently, we support the following: prod, dev

tenant_type
multi|single
required

This is the tenant type that you are connecting to. Currently, we support the following: multi, single

credentials
object
required
tables
object[]

Include all tables that you would like to expose to Buster. Anything you do not include will not be queryable.