GET
/
api
/
monitors
/
automated
/
v1
/
deployment-rule
GetDeployOverview
curl --request GET \
  --url https://developer.synq.io/api/monitors/automated/v1/deployment-rule \
  --header 'Authorization: Bearer <token>'
{
  "overview": {
    "monitorsToCreateFor": [
      "<string>"
    ],
    "monitorsToDeleteFor": [
      "<string>"
    ],
    "activeMonitorsFor": [
      "<string>"
    ],
    "monitorSettingsChanges": [
      {
        "monitoredAssetPath": "<string>",
        "originalSettings": {
          "severity": "SEVERITY_UNSPECIFIED",
          "sensitivity": "SENSITIVITY_UNSPECIFIED",
          "metricIds": [
            "METRIC_ID_UNSPECIFIED"
          ]
        },
        "newSettings": {
          "severity": "SEVERITY_UNSPECIFIED",
          "sensitivity": "SENSITIVITY_UNSPECIFIED",
          "metricIds": [
            "METRIC_ID_UNSPECIFIED"
          ]
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

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

SYNQ integration_id that identifies the dbt Core project

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

SYNQ 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

SYNQ 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
required

Dataproduct id that identifies the Dataproduct

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

SYNQ path that identifies the SYNQ 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
required

SYNQ 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
required

SYNQ 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.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

SYNQ integration_id of the monitored identifier

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

Default SYNQ 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_CLOUD_PROJECT,
ENTITY_TYPE_DBT_CLOUD_JOB,
ENTITY_TYPE_SNOWFLAKE_TABLE,
ENTITY_TYPE_SNOWFLAKE_VIEW,
ENTITY_TYPE_REDSHIFT_TABLE,
ENTITY_TYPE_REDSHIFT_VIEW,
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_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_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_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

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[]
deploymentRule.queryConfig.query.parts.query.operand
enum<string>
Available options:
QUERY_OPERAND_UNSPECIFIED,
QUERY_OPERAND_AND,
QUERY_OPERAND_OR,
QUERY_OPERAND_EXCEPT,
QUERY_OPERAND_UPSTREAM,
QUERY_OPERAND_DOWNSTREAM
deploymentRule.queryConfig.query.parts.unsupported.queryJson
string
deploymentRule.queryConfig.severity
enum<string>
Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR
deploymentRule.queryConfig.sensitivity
enum<string>
Available options:
SENSITIVITY_UNSPECIFIED,
SENSITIVITY_PRECISE,
SENSITIVITY_BALANCED,
SENSITIVITY_RELAXED
deploymentRule.queryConfig.metricIds
enum<string>[]
Minimum length: 1
deploymentRule.queryConfig.keepDeletedMonitors
boolean
deploymentRule.staticConfig.path
string
deploymentRule.staticConfig.severity
enum<string>
Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR
deploymentRule.staticConfig.sensitivity
enum<string>
Available options:
SENSITIVITY_UNSPECIFIED,
SENSITIVITY_PRECISE,
SENSITIVITY_BALANCED,
SENSITIVITY_RELAXED
deploymentRule.staticConfig.metricIds
enum<string>[]
Minimum length: 1
deploymentRule.exclusiveStaticConfig.path
string
deploymentRule.productConfig.productId
string
deploymentRule.productConfig.severity
enum<string>
Available options:
SEVERITY_UNSPECIFIED,
SEVERITY_WARNING,
SEVERITY_ERROR
deploymentRule.productConfig.sensitivity
enum<string>
Available options:
SENSITIVITY_UNSPECIFIED,
SENSITIVITY_PRECISE,
SENSITIVITY_BALANCED,
SENSITIVITY_RELAXED
deploymentRule.productConfig.metricIds
enum<string>[]
Minimum length: 1
deploymentRule.productConfig.keepDeletedMonitors
boolean

Response

200
application/json

Success

The response is of type object.