Update Warehouse Connection Parameters
https://statsigapi.net/console/v1/wh_connectionsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsondatabricksobjectShow child attributes
hoststringpathstringaccessTokenstringstagingDatabasestringStatsig will use this Database to save intermediate tables in the experimentation pipeline. Must be a database that the service user has write access to.
oauthClientIDstringnullableconsoleComputePathstringAn optional separate path that Statsig will use to run interactive queries made from the Console.
nullablesnowflakeobjectShow child attributes
accountNamestringserviceUserNamestringserviceUserPasswordstringprivateKeystringnullablekeyPassPhrasestringnullablestagingDatabaseNamestringThe database containing the staging schema
stagingSchemaNamestringStatsig will use this Schema to save intermediate tables in the experimentation pipeline. Must be a schema that the service user has write access to.
computeWarehousestringThe warehouse that Statsig will use to run queries. Must be a warehouse that the service user has access to.
consoleComputeWarehousestringAn optional warehouse that Statsig will use to run interactive queries made from the Console.
nullablebigqueryobjectShow child attributes
privateKeystringPrivate key for a first-party service account to use for the BigQuery connection.
projectstringThe project that Statsig will use to run queries.
consoleComputeProjectstringAn optional project that Statsig will use to run interactive queries made from the Console.
stagingDatasetstringStatsig will use this dataset to save intermediate tables in the experimentation pipeline. Must be a dataset that the service user has write access to.
redshiftobjectShow child attributes
hoststringThe name of the Redshift cluster.
portnumberThe port of the Redshift cluster.
format: doubledatabasestringThe database of the Redshift cluster.
usernamestringThe username of the admin of the Redshift cluster.
passwordstringThe password of the admin.
stagingSchemastringThe schema to use for staging tables.
useSshTunnelbooleansshUsernamestringsshPortnumberformat: doublesshHoststringsshPrivateKeystringsshPublicKeystringverifyCAbooleanWhether to verify CA over SSL.
useAssumeRolebooleanWhether to use an IAM role to connect to the Redshift cluster.
roleArnstringregionstringThe AWS region of your Redshift cluster. Needed if using an IAM Role to connect.
athenaobjectShow child attributes
regionstringThe AWS region of your resources.
bucketstringThe name of your S3 bucket.
dataCatalogstringThe name of your Athena Data Source/Catalog.
useCatalogInQueryContextbooleanWhether to specify the Data Catalog when making calls to your Athena instance via the SDK. This can be helpful to avoid needing to specify the same catalog in SQL for all queries.
databasestringThe name of the database to use for staging tables.
queryResultLocationstringThe S3 location for Athena query results.
workgroupstringThe name of the Athena Workgroup to use for query results.
roleArnstringResponse
application/jsonmessagestringstatusintegerrequired403messagestringrequiredWas this helpful?