Skip to main content

Admin Configs

An admin config is the base connection configuration for Query Runner on one database service: its service type, authentication configuration, default row cap, and which fields (role, database, schema, warehouse) individual users and teams are allowed to override with their own credentials. There’s one admin config per service, and only a workspace admin can manage it. POST/PUT take a CreateQueryRunnerConfig body:
  • serviceName (required)
  • serviceType: one of BigQuery, Snowflake, Trino, Redshift, Postgres, Mssql, or Mysql
  • authConfig: connection credentials, shaped according to serviceType
  • querySettings: { maxResultSize }, defaults to 1000
  • enabled: defaults to false
  • userConfigurableFields: which fields users and teams can override (role, database, schema, warehouse, dataset), defaulting to none

Example

The following request creates an admin config for a database service.