Skip to main content
GET
GetSqlTestDeployOverview

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

deploymentRule.id
string<uuid>

Unique identifier for this rule.

deploymentRule.title
string

Human friendly name for this rule.

Required string length: 1 - 100
deploymentRule.queryConfig.query.parts.identifierList.identifiers.dbtCoreNode.integrationId
string
required

Opaque identifier of the dbt Core project. Usually the Coalesce Quality integration id (a UUID), but may also be the dbt project name from manifest.json when the integration is configured to identify assets by project name. Treat it as an opaque string, not a UUID.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.dbtCoreNode.nodeId
string
required

Dbt node_id that identifies one of dbt DAG nodes (model, test, etc)

deploymentRule.queryConfig.query.parts.identifierList.identifiers.dbtCloudNode.projectId
string
required

Your dbt Cloud project id

deploymentRule.queryConfig.query.parts.identifierList.identifiers.dbtCloudNode.accountId
string

Your dbt Cloud account id

deploymentRule.queryConfig.query.parts.identifierList.identifiers.dbtCloudNode.nodeId
string
required

Dbt node_id that identifies one of dbt DAG nodes (model, test, etc)

deploymentRule.queryConfig.query.parts.identifierList.identifiers.bigqueryTable.project
string
required

BigQuery project

deploymentRule.queryConfig.query.parts.identifierList.identifiers.bigqueryTable.dataset
string
required

BigQuery dataset id

deploymentRule.queryConfig.query.parts.identifierList.identifiers.bigqueryTable.table
string
required

BigQuery table name

deploymentRule.queryConfig.query.parts.identifierList.identifiers.snowflakeTable.account
string
required

Snowflake account

deploymentRule.queryConfig.query.parts.identifierList.identifiers.snowflakeTable.database
string
required

Snowflake database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.snowflakeTable.schema
string
required

Snowflake schema

deploymentRule.queryConfig.query.parts.identifierList.identifiers.snowflakeTable.table
string
required

Snowflake table

deploymentRule.queryConfig.query.parts.identifierList.identifiers.redshiftTable.cluster
string

Redshift cluster

deploymentRule.queryConfig.query.parts.identifierList.identifiers.redshiftTable.database
string
required

Redshift database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.redshiftTable.schema
string
required

Redshift schema

deploymentRule.queryConfig.query.parts.identifierList.identifiers.redshiftTable.table
string
required

Redshift table

deploymentRule.queryConfig.query.parts.identifierList.identifiers.postgresTable.host
string
required

Postgres hostname without port

deploymentRule.queryConfig.query.parts.identifierList.identifiers.postgresTable.database
string
required

Postgres database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.postgresTable.schema
string
required

Postgres schema

deploymentRule.queryConfig.query.parts.identifierList.identifiers.postgresTable.table
string
required

Postgres table

deploymentRule.queryConfig.query.parts.identifierList.identifiers.mysqlTable.host
string
required

Mysql hostname without port

deploymentRule.queryConfig.query.parts.identifierList.identifiers.mysqlTable.schema
string
required

Mysql database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.mysqlTable.table
string
required

Mysql table

deploymentRule.queryConfig.query.parts.identifierList.identifiers.clickhouseTable.host
string
required

Clickhouse hostname without port

deploymentRule.queryConfig.query.parts.identifierList.identifiers.clickhouseTable.schema
string
required

Clickhouse database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.clickhouseTable.table
string
required

Clickhouse table

deploymentRule.queryConfig.query.parts.identifierList.identifiers.airflowDag.integrationId
string
required

Coalesce Quality integration_id that identifies the Airflow instance

deploymentRule.queryConfig.query.parts.identifierList.identifiers.airflowDag.dagId
string
required

Airflow dag_id that identifies the DAG

deploymentRule.queryConfig.query.parts.identifierList.identifiers.airflowTask.integrationId
string
required

Coalesce Quality integration_id that identifies the Airflow instance

deploymentRule.queryConfig.query.parts.identifierList.identifiers.airflowTask.dagId
string
required

Airflow dag_id that identifies the DAG

deploymentRule.queryConfig.query.parts.identifierList.identifiers.airflowTask.taskId
string
required

Airflow task_id that identifies the task within the DAG

deploymentRule.queryConfig.query.parts.identifierList.identifiers.custom.id
string
required

Id that identifies the custom entity The Id should be unique within the custom entity Identifier.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.dataproduct.id
string<uuid>
required

Dataproduct id that identifies the Dataproduct

deploymentRule.queryConfig.query.parts.identifierList.identifiers.synqPath.path
string
required

Coalesce Quality path that identifies the Coalesce Quality entity, needs to be one of supported paths

deploymentRule.queryConfig.query.parts.identifierList.identifiers.databricksTable.workspace
string
required

URL of Databricks workspace

deploymentRule.queryConfig.query.parts.identifierList.identifiers.databricksTable.catalog
string
required

Databricks catalog

deploymentRule.queryConfig.query.parts.identifierList.identifiers.databricksTable.schema
string
required

Databricks schema

deploymentRule.queryConfig.query.parts.identifierList.identifiers.databricksTable.table
string
required

Databricks table or view

deploymentRule.queryConfig.query.parts.identifierList.identifiers.trinoTable.host
string
required

Hostname of the Trino instance

deploymentRule.queryConfig.query.parts.identifierList.identifiers.trinoTable.catalog
string
required

Trino catalog

deploymentRule.queryConfig.query.parts.identifierList.identifiers.trinoTable.schema
string
required

Trino schema

deploymentRule.queryConfig.query.parts.identifierList.identifiers.trinoTable.table
string
required

Trino table or view

deploymentRule.queryConfig.query.parts.identifierList.identifiers.sqlMeshModel.integrationId
string<uuid>
required

Coalesce Quality integration_id that identifies the dbt Core project

deploymentRule.queryConfig.query.parts.identifierList.identifiers.sqlMeshModel.fqn
string
required

SQLMesh model fully qualified name

deploymentRule.queryConfig.query.parts.identifierList.identifiers.sqlMeshAudit.integrationId
string<uuid>
required

Coalesce Quality integration_id that identifies the dbt Core project

deploymentRule.queryConfig.query.parts.identifierList.identifiers.sqlMeshAudit.fqn
string
required

SQLMesh model fully qualified name

deploymentRule.queryConfig.query.parts.identifierList.identifiers.sqlMeshAudit.auditId
string
required

Identifier of the audit

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.mssqlTable.host
string
required

Hostname of the SQL Server instance

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.mssqlTable.database
string
required

SQL Server database

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.mssqlTable.schema
string
required

SQL Server schema (e.g. "dbo")

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.mssqlTable.table
string
required

SQL Server table or view

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.oracleTable.host
string
required

Hostname of the Oracle instance

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.oracleTable.serviceName
string
required

Oracle service name (PDB)

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.oracleTable.schema
string
required

Oracle schema (= owning user)

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.oracleTable.table
string
required

Oracle table or view

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.athenaTable.instance
string
required

AWS account and region the Athena workgroup runs in, formatted as "." (e.g. "123456789012.eu-west-1"). Auto-derived from sts:GetCallerIdentity at integration setup time.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.athenaTable.catalog
string
required

Glue Data Catalog name. Almost always "AwsDataCatalog" — the default catalog for Athena unless the customer registered a federated catalog.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.athenaTable.database
string
required

Glue database (the namespace users typically filter on).

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.athenaTable.table
string
required

Glue table or view name.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.savedView.id
string<uuid>
required

Saved view id (client-supplied UUID) that identifies the saved view

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.instance
string
required

Workspace SQL analytics endpoint host, e.g. ".datawarehouse.fabric.microsoft.com".

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.database
string
required

Fabric warehouse / lakehouse (database).

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.schema
string
required

Schema within the database.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.table
string
required

Table or view name.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.workspaceId
string

Fabric workspace GUID, decoded from the endpoint host in instance. Optional and informational: the table is addressed by instance/database/schema/table, so leave it empty if you don't have it — it does not affect how the identifier resolves.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitoredId.fabricTable.tenantId
string

Entra (Azure AD) tenant GUID, decoded from the endpoint host in instance. Optional and informational, like workspace_id.

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.monitorId
string
required

Identifier of the monitor

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.segment
string

Optional monitor segmentation identifier

deploymentRule.queryConfig.query.parts.identifierList.identifiers.monitor.integrationId
string
deprecated

Coalesce Quality integration_id of the monitored identifier

deploymentRule.queryConfig.query.parts.withNameSearch.searchQuery
string
deploymentRule.queryConfig.query.parts.withType.type.default
enum<string>

Default Coalesce Quality types

Available options:
ENTITY_TYPE_UNSPECIFIED,
ENTITY_TYPE_BQ_TABLE,
ENTITY_TYPE_BQ_VIEW,
ENTITY_TYPE_LOOKER_LOOK,
ENTITY_TYPE_LOOKER_EXPLORE,
ENTITY_TYPE_LOOKER_VIEW,
ENTITY_TYPE_LOOKER_DASHBOARD,
ENTITY_TYPE_DBT_MODEL,
ENTITY_TYPE_DBT_TEST,
ENTITY_TYPE_DBT_SOURCE,
ENTITY_TYPE_DBT_PROJECT,
ENTITY_TYPE_DBT_METRIC,
ENTITY_TYPE_DBT_SNAPSHOT,
ENTITY_TYPE_DBT_SEED,
ENTITY_TYPE_DBT_ANALYSIS,
ENTITY_TYPE_DBT_EXPOSURE,
ENTITY_TYPE_DBT_GROUP,
ENTITY_TYPE_DBT_SEMANTIC_MODEL,
ENTITY_TYPE_DBT_CLOUD_PROJECT,
ENTITY_TYPE_DBT_CLOUD_JOB,
ENTITY_TYPE_SNOWFLAKE_TABLE,
ENTITY_TYPE_SNOWFLAKE_VIEW,
ENTITY_TYPE_SNOWFLAKE_STREAM,
ENTITY_TYPE_SNOWFLAKE_DYNAMIC_TABLE,
ENTITY_TYPE_SNOWFLAKE_TASK,
ENTITY_TYPE_SNOWFLAKE_EXTERNAL_TABLE,
ENTITY_TYPE_SNOWFLAKE_MATERIALIZED_VIEW,
ENTITY_TYPE_SNOWFLAKE_PROCEDURE,
ENTITY_TYPE_SNOWFLAKE_FUNCTION,
ENTITY_TYPE_SNOWFLAKE_SEMANTIC_VIEW,
ENTITY_TYPE_REDSHIFT_TABLE,
ENTITY_TYPE_REDSHIFT_VIEW,
ENTITY_TYPE_REDSHIFT_PROCEDURE,
ENTITY_TYPE_REDSHIFT_FUNCTION,
ENTITY_TYPE_TABLEAU_EMBEDDED,
ENTITY_TYPE_TABLEAU_PUBLISHED,
ENTITY_TYPE_TABLEAU_CUSTOM_SQL,
ENTITY_TYPE_TABLEAU_TABLE,
ENTITY_TYPE_TABLEAU_SHEET,
ENTITY_TYPE_TABLEAU_DASHBOARD,
ENTITY_TYPE_AIRFLOW_DAG,
ENTITY_TYPE_AIRFLOW_TASK,
ENTITY_TYPE_CLICKHOUSE_TABLE,
ENTITY_TYPE_CLICKHOUSE_VIEW,
ENTITY_TYPE_ANOMALY_MONITOR,
ENTITY_TYPE_ANOMALY_MONITOR_SEGMENT,
ENTITY_TYPE_SQLTEST_TEST,
ENTITY_TYPE_RECON_SUITE,
ENTITY_TYPE_RECON_CASE,
ENTITY_TYPE_POSTGRES_TABLE,
ENTITY_TYPE_POSTGRES_VIEW,
ENTITY_TYPE_MYSQL_TABLE,
ENTITY_TYPE_MYSQL_VIEW,
ENTITY_TYPE_DATABRICKS_WAREHOUSE,
ENTITY_TYPE_DATABRICKS_TABLE,
ENTITY_TYPE_DATABRICKS_VIEW,
ENTITY_TYPE_DATABRICKS_JOB,
ENTITY_TYPE_DATABRICKS_JOB_TASK,
ENTITY_TYPE_DATABRICKS_NOTEBOOK,
ENTITY_TYPE_DATABRICKS_QUERY,
ENTITY_TYPE_DATABRICKS_DASHBOARD,
ENTITY_TYPE_SQLMESH_PROJECT,
ENTITY_TYPE_SQLMESH_SQL_MODEL,
ENTITY_TYPE_SQLMESH_PYTHON_MODEL,
ENTITY_TYPE_SQLMESH_EXTERNAL,
ENTITY_TYPE_SQLMESH_SEED,
ENTITY_TYPE_SQLMESH_AUDIT,
ENTITY_TYPE_SQLMESH_UNIT_TEST,
ENTITY_TYPE_SQLMESH_ENVIRONMENT,
ENTITY_TYPE_SQLMESH_SNAPSHOT,
ENTITY_TYPE_DUCKDB_TABLE,
ENTITY_TYPE_DUCKDB_VIEW,
ENTITY_TYPE_TRINO_TABLE,
ENTITY_TYPE_TRINO_VIEW,
ENTITY_TYPE_ATLAN_ASSET,
ENTITY_TYPE_ATLAN_INTEGRATION,
ENTITY_TYPE_COALESCE_PROJECT,
ENTITY_TYPE_COALESCE_ENVIRONMENT,
ENTITY_TYPE_COALESCE_NODE,
ENTITY_TYPE_COALESCE_NODE_TEST,
ENTITY_TYPE_COALESCE_JOB,
ENTITY_TYPE_CASTORDOC_TABLE,
ENTITY_TYPE_CASTORDOC_DASHBOARD,
ENTITY_TYPE_CASTORDOC_VIEW,
ENTITY_TYPE_CASTORDOC_TILE,
ENTITY_TYPE_CASTORDOC_VIZ_MODEL,
ENTITY_TYPE_POWERBI_REPORT,
ENTITY_TYPE_POWERBI_TILE,
ENTITY_TYPE_POWERBI_DATASET,
ENTITY_TYPE_POWERBI_DASHBOARD,
ENTITY_TYPE_POWERBI_TENANT,
ENTITY_TYPE_THOUGHTSPOT_LIVEBOARD,
ENTITY_TYPE_THOUGHTSPOT_WORKSHEET,
ENTITY_TYPE_SIGMA_WORKBOOK,
ENTITY_TYPE_SIGMA_DATA_MODEL,
ENTITY_TYPE_SIGMA_ORGANIZATION,
ENTITY_TYPE_DOMO_PAGE,
ENTITY_TYPE_DOMO_DATASET,
ENTITY_TYPE_MSSQL_TABLE,
ENTITY_TYPE_MSSQL_VIEW,
ENTITY_TYPE_ORACLE_TABLE,
ENTITY_TYPE_ORACLE_VIEW,
ENTITY_TYPE_ATHENA_TABLE,
ENTITY_TYPE_ATHENA_VIEW,
ENTITY_TYPE_FABRIC_TABLE,
ENTITY_TYPE_FABRIC_VIEW,
ENTITY_TYPE_CUSTOM_ENTITY_GENERIC,
ENTITY_TYPE_CUSTOM_ENTITY_CUSTOM_TYPE_MIN,
ENTITY_TYPE_CUSTOM_ENTITY_CUSTOM_TYPE_MAX
deploymentRule.queryConfig.query.parts.withType.type.custom
integer<int32>

Custom types as defined through synq.entities.custom.v1.TypesService

deploymentRule.queryConfig.query.parts.withAnnotation.name
string
deploymentRule.queryConfig.query.parts.withAnnotation.acceptedValue
string
deprecated
deploymentRule.queryConfig.query.parts.withAnnotation.acceptedValues
string[]
deploymentRule.queryConfig.query.parts.inFolder.path
string[]

Opaque folder identifiers (a folder's own entity id). folders is the structured, human-authorable alternative. When path is the only source set and deep is unset, deep defaults to true for back-compat with queries authored before deep existed.

deploymentRule.queryConfig.query.parts.inFolder.folders.rootEntityId
string

Opaque id of the entity the folder hierarchy hangs under — an integration root or container (for example a warehouse instance, a database, or a transformation project). Take it verbatim from FolderRef.root_entity_id of a folder you already read, or from an entity id returned elsewhere.

deploymentRule.queryConfig.query.parts.inFolder.folders.folders
string[]

Ordered folder names from the root down to this folder (root first, leaf last), for example ["staging", "sales"]. Empty means the ref points at the root entity itself. Folder names are kept as separate segments (not joined with "/") because some platforms allow "/" inside a single folder name.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.entityIds
string[]

Simplified source: the assets named directly by opaque entity id. Use this for the common "same folder as these specific assets" case; equivalent to an input_query that lists the same ids.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.bigquery.project
string
required

BigQuery project

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.clickhouse.host
string
required

Clickhouse host inclusive of port

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.clickhouse.schema
string
required

Clickhouse database

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.snowflake.account
string
required

Snowflake account

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.snowflake.database
string
required

Snowflake database

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.redshift.cluster
string
required

Redshift cluster

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.redshift.database
string
required

Redshift database

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.postgres.host
string
required

Postgres host inclusive of port

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.postgres.database
string
required

Postgres database

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.mysql.host
string
required

Mysql host inclusive of port

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.databricks.workspace
string
required

URL of the databricks workspace

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.dbtCloud.apiEndpoint
string
required

API endpoint for Dbt Cloud

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.dbtCloud.accountId
string
required

Account ID

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.dbtCloud.projectId
string
required

Project ID

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.sqlMesh.defaultDatabaseInstance
string
required

Default database instance for SQL Mesh

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.duckdb.motherduckAccount
string
deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.trino.coordinator
string
deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.mssql.host
string
required

SQL Server host

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.mssql.database
string
required

Database name

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.oracle.host
string
required

Oracle host

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.oracle.serviceName
string
required

Oracle service name (PDB)

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.athena.instance
string
required

AWS account and region the Athena workgroup runs in, formatted as "." (e.g. "123456789012.eu-west-1"). Auto-derived by SYNQ from sts:GetCallerIdentity at integration setup time.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.athena.catalog
string
required

Glue Data Catalog name. Almost always "AwsDataCatalog" — the default catalog for Athena unless the customer registered a federated catalog.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.fabric.instance
string
required

Workspace SQL analytics endpoint host, e.g. ".datawarehouse.fabric.microsoft.com". Identifies the Fabric workspace the integration connects to. Fabric is workspace-scoped with cross-database queries, so the workspace host alone identifies the platform (like Databricks' workspace URL); a specific warehouse/table is addressed by FabricTableIdentifier.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.fabric.workspaceId
string

Fabric workspace GUID — the identifier used by the Fabric REST API for workspace-scoped resources. The Fabric endpoint host in instance encodes the tenant and workspace GUIDs; this is the decoded workspace GUID, provided so you don't have to decode it yourself. instance remains the identifying value. Optional: empty when the host isn't a standard Fabric endpoint.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.fabric.tenantId
string

Entra (Azure AD) tenant GUID, decoded from the endpoint host in instance alongside workspace_id. Optional: empty when the host isn't a standard Fabric endpoint.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDataPlatform.identifier.synqIntegrationId
string

Coalesce Quality integration ID maps to the created integration on the Coalesce Quality platform.

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.withDataPlatformType.types
enum<string>[]
Available options:
DATA_PLATFORM_TYPE_UNSPECIFIED,
DATA_PLATFORM_TYPE_BIGQUERY,
DATA_PLATFORM_TYPE_LOOKER,
DATA_PLATFORM_TYPE_DBT,
DATA_PLATFORM_TYPE_DBT_CLOUD,
DATA_PLATFORM_TYPE_DBT_SELF_HOSTED,
DATA_PLATFORM_TYPE_SNOWFLAKE,
DATA_PLATFORM_TYPE_GCP,
DATA_PLATFORM_TYPE_GIT,
DATA_PLATFORM_TYPE_GITHUB,
DATA_PLATFORM_TYPE_REDSHIFT,
DATA_PLATFORM_TYPE_TABLEAU,
DATA_PLATFORM_TYPE_AIRFLOW,
DATA_PLATFORM_TYPE_CLICKHOUSE,
DATA_PLATFORM_TYPE_POSTGRES,
DATA_PLATFORM_TYPE_MYSQL,
DATA_PLATFORM_TYPE_DATABRICKS,
DATA_PLATFORM_TYPE_SQLMESH,
DATA_PLATFORM_TYPE_DUCKDB,
DATA_PLATFORM_TYPE_TRINO,
DATA_PLATFORM_TYPE_ATLAN,
DATA_PLATFORM_TYPE_COALESCE,
DATA_PLATFORM_TYPE_CASTORDOC,
DATA_PLATFORM_TYPE_POWERBI,
DATA_PLATFORM_TYPE_THOUGHTSPOT,
DATA_PLATFORM_TYPE_SIGMA,
DATA_PLATFORM_TYPE_DOMO,
DATA_PLATFORM_TYPE_MSSQL,
DATA_PLATFORM_TYPE_ORACLE,
DATA_PLATFORM_TYPE_ATHENA,
DATA_PLATFORM_TYPE_FABRIC,
DATA_PLATFORM_TYPE_SYNQ
deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inFolder.deep
boolean

When false or unset, matches only the direct members of the folder(s). When true, matches the entire recursive subtree (members of subfolders too).

Exception: when only the legacy path source is set and deep is unset, it defaults to true (preserves the behaviour of queries authored before this flag existed). With folders or folder_of, unset means false (shallow).

deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.inDomain.domainId
string<uuid>
deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.identitiesOf.inputQuery.operand
enum<string>

Defaults to AND if not specified.

Available options:
QUERY_OPERAND_UNSPECIFIED,
QUERY_OPERAND_AND,
QUERY_OPERAND_OR,
QUERY_OPERAND_EXCEPT,
QUERY_OPERAND_UPSTREAM,
QUERY_OPERAND_DOWNSTREAM
deploymentRule.queryConfig.query.parts.inFolder.folderOf.inputQuery.parts.unsupported.queryJson
string
deploymentRule.queryConfig.query.parts.inFolder.folderOf.includeAllAncestors
boolean

When false (default): only each asset's immediate parent folder. When true: every ancestor folder up the hierarchy, so InFolder then also matches assets in those ancestor folders.

deploymentRule.queryConfig.query.parts.query.operand
enum<string>

QueryOperand defines how multiple QueryParts within a Query are combined.

Available options:
QUERY_OPERAND_UNSPECIFIED,
QUERY_OPERAND_AND,
QUERY_OPERAND_OR,
QUERY_OPERAND_EXCEPT,
QUERY_OPERAND_UPSTREAM,
QUERY_OPERAND_DOWNSTREAM
deploymentRule.queryConfig.resolverQl
string

ResolverQL selection string — an advanced, more expressive alternative to query. ResolverQL is a superset of the structured query: use it for selections query cannot express (e.g. lineage walks, column predicates). When set (non-empty) on write, resolver_ql is the source of truth and the structured query is ignored. On read it is echoed back VERBATIM (exactly as written, not normalized) for rules authored via ResolverQL, and is empty for rules authored via the structured query — so writing a read response back unchanged preserves the rule's authored form. To read the ResolverQL form of a structured rule, use rendered_resolver_ql. query is always populated regardless.

deploymentRule.queryConfig.renderedResolverQl
string

Canonical ResolverQL rendering of this rule's selection, populated for every rule regardless of how it was authored. OUTPUT ONLY — it is ignored on write; set resolver_ql to author a selection in ResolverQL.

deploymentRule.queryConfig.tests.name
string

Human friendly name for this test. Required (non-empty) for business_rule_test and business_query_test — for those two kinds, name is the test's identity key across rule redeployments, so a renamed test is treated as a different test. Optional for every other kind: leave it unset and a name is generated.

deploymentRule.queryConfig.tests.description
string

Description of purpose and motivation, copied onto every test this rule deploys.

deploymentRule.queryConfig.tests.severity
enum<string>

Overrides the rule's config-level severity for this test only. Leave unset to use the config-level severity.

Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR,
SEVERITY_INFO
deploymentRule.queryConfig.tests.notNullTest.columnNames
string[]

List of column names to check for NULL values

Minimum array length: 1
deploymentRule.queryConfig.tests.notNullTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.emptyTest.columnNames
string[]

List of column names to check for empty values

Minimum array length: 1
deploymentRule.queryConfig.tests.emptyTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.acceptedValuesTest.columnName
string
required

Name of the column to validate

deploymentRule.queryConfig.tests.acceptedValuesTest.acceptedValues.stringLiteral
string

Literal value that should be quoted in SQL (e.g., '2025-05-12', 'active')

deploymentRule.queryConfig.tests.acceptedValuesTest.acceptedValues.expression
string

SQL expression, numbers to be used as plain text (e.g., NOW(), COUNT(*), true, 1.1)

deploymentRule.queryConfig.tests.acceptedValuesTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.rejectedValuesTest.columnName
string
required

Name of the column to validate

deploymentRule.queryConfig.tests.rejectedValuesTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.uniqueTest.columnNames
string[]

List of columns that should form a unique combination

Minimum array length: 1
deploymentRule.queryConfig.tests.uniqueTest.timePartitionColumnName
string

If provided, the check will be applied to the time window of the time partition column If not provided, the check will be applied to all rows

deploymentRule.queryConfig.tests.uniqueTest.timeWindowSeconds

Time window for uniqueness check (in seconds)

deploymentRule.queryConfig.tests.freshnessTest.timePartitionColumnName
string
required

Name of the timestamp column used for freshness check

deploymentRule.queryConfig.tests.freshnessTest.timeWindowSeconds

Time window for freshness check (in seconds)

deploymentRule.queryConfig.tests.freshnessTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.minMaxTest.columnName
string
required

Name of the numeric column to validate

deploymentRule.queryConfig.tests.minMaxTest.strictly
boolean

If true, bounds are exclusive

deploymentRule.queryConfig.tests.minMaxTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.relativeTimeTest.columnName
string
required

Name of the first time column to compare

deploymentRule.queryConfig.tests.relativeTimeTest.relativeColumnName
string
required

Name of the second time column that should be later than the first

deploymentRule.queryConfig.tests.relativeTimeTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.businessRuleTest.sqlExpression
string
required

Boolean SQL predicate evaluated per row of the anchor table (Template.identifier); rows where the predicate is TRUE are reported as failures.

Format: a single boolean expression — no SELECT, WITH, or semicolons. References columns on the anchor table. The engine executes it as SELECT * FROM <anchor_table> WHERE <sql_expression>.

Example: "total_amount != subtotal + tax" reports rows where totals disagree. Use BusinessQueryTest for SELECT / GROUP BY / multi-table logic.

deploymentRule.queryConfig.tests.businessRuleTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.minValueTest.columnName
string
required

Name of the numeric column to validate

deploymentRule.queryConfig.tests.minValueTest.strictly
boolean

If true, the minimum value is exclusive

deploymentRule.queryConfig.tests.minValueTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.maxValueTest.columnName
string
required

Name of the numeric column to validate

deploymentRule.queryConfig.tests.maxValueTest.strictly
boolean

If true, the maximum value is exclusive

deploymentRule.queryConfig.tests.maxValueTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.relationshipsTest.references.columns.source
string
required

Column name in the source table

deploymentRule.queryConfig.tests.relationshipsTest.references.columns.reference
string
required

Column name in the reference table

deploymentRule.queryConfig.tests.relationshipsTest.ignoreNulls
boolean

If true, source rows where all join columns are NULL are excluded from results

deploymentRule.queryConfig.tests.relationshipsTest.timePartitionColumn
string

Column name used to filter source rows by time (e.g., "created_at")

deploymentRule.queryConfig.tests.relationshipsTest.timeWindowSeconds

Time window in seconds - only check source rows within this window

deploymentRule.queryConfig.tests.relationshipsTest.selectColumns
string[]

Optional list of columns to include in the SELECT clause of the generated SQL. When empty (default), SELECT * is used — all columns are returned.

deploymentRule.queryConfig.tests.businessQueryTest.sqlQuery
string
required

Full SELECT statement. Result rows are reported as failures.

Format: a single SELECT (CTEs allowed); no semicolon. May read any tables the integration has access to. The engine wraps it as WITH raw_query AS (<sql_query>) SELECT * FROM raw_query.

Use this when the failure set requires GROUP BY, JOINs, window functions, or other shape that a per-row predicate (BusinessRuleTest) cannot express.

Example: SELECT customer_id, SUM(amount) AS total FROM orders WHERE status = 'paid' GROUP BY customer_id HAVING SUM(amount) < 0

Template.identifier still anchors the test to a primary table for ownership, alerts, and UI grouping.

Note: this test does not expose a select_columns option. The author controls the SELECT shape directly in sql_query.

deploymentRule.queryConfig.recurrenceRule
string

Recurrence rule for the execution schedule applied to every test this rule deploys. Empty means on-demand — deployed tests are never scheduled to run automatically.

deploymentRule.queryConfig.timezone
string

IANA timezone name (e.g., "Europe/Prague", "America/New_York") used to interpret recurrence_rule. Empty defaults to UTC.

deploymentRule.queryConfig.severity
enum<string>

Severity applied to every test this rule deploys, unless a RuleTest overrides it. Required — must be set to a value other than unspecified.

Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR,
SEVERITY_INFO
deploymentRule.queryConfig.saveFailures
boolean

Applied to every test this rule deploys. Toggles saving of failure runs.

deploymentRule.queryConfig.keepRemovedTests
boolean

When a previously matched table or view stops matching this rule's selection, its deployed tests are deleted by default. Set true to keep them as-is instead — they remain rule-managed but are no longer resynced.

deploymentRule.exclusiveQueryConfig.resolverQl
string

ResolverQL selection string for the exclusion set. Same semantics as SqlTestsQueryConfig.resolver_ql: when set on write it takes precedence over query; on read it is echoed back VERBATIM for ResolverQL-authored rules and is empty for structured-query rules (whose ResolverQL form is in rendered_resolver_ql). query is always populated.

deploymentRule.exclusiveQueryConfig.renderedResolverQl
string

Canonical ResolverQL rendering of the exclusion selection. OUTPUT ONLY, populated for every rule, ignored on write.

deploymentRule.staticConfig.path
string

Synq path of the table or view this rule deploys tests onto.

deploymentRule.staticConfig.recurrenceRule
string

Recurrence rule for the execution schedule applied to every test this rule deploys. Empty means on-demand.

deploymentRule.staticConfig.timezone
string

IANA timezone name used to interpret recurrence_rule. Empty defaults to UTC.

deploymentRule.staticConfig.severity
enum<string>

Severity applied to every test this rule deploys, unless a RuleTest overrides it. Required — must be set to a value other than unspecified.

Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR,
SEVERITY_INFO
deploymentRule.staticConfig.saveFailures
boolean

Applied to every test this rule deploys. Toggles saving of failure runs.

deploymentRule.exclusiveStaticConfig.path
string

Synq path of the table or view this rule exclusively owns.

deploymentRule.source
enum<string>
Available options:
SOURCE_APP,
SOURCE_API
deploymentRule.configId
string

Config ID this rule was authored from, when deployed via configuration as code. Unset for rules authored directly through this API.

Response

200 - application/json

Success

overview
SqlTestsDeploymentOverview · object

SqlTestsDeploymentOverview previews or reports the effect of deploying a SqlTestDeploymentRule, per test rather than per table — a table with three tests deployed appears as three entries, one for each test.