Other alert operations (GraphQL)

Related queries and mutations in Alerts and incidents. Each has its own section.

Mutations

setDefaultAlertGroupInterval (mutation)

setDefaultAlertGroupInterval is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Set default alert grouping interval (in hours) for a warehouse

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID.
intervalInt!Interval in hours.

Returns

SetDefaultAlertGroupInterval

Example

mutation SetDefaultAlertGroupInterval($dwId: UUID!, $interval: Int!) {
  setDefaultAlertGroupInterval(dwId: $dwId, interval: $interval) {
    warehouseConfig
  }
}

Types used only by setDefaultAlertGroupInterval

SetDefaultAlertGroupInterval

Object type.

FieldTypeDescription
warehouseConfigJSONStringWarehouse configuration.

Related types

JSONString, UUID

setDefaultIncidentGroupInterval (mutation)

setDefaultIncidentGroupInterval is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use setDefaultAlertGroupInterval instead

Set default incident grouping interval (in hours) for a warehouse.

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID.
intervalInt!Interval in hours.

Returns

SetDefaultIncidentGroupInterval

Example

mutation SetDefaultIncidentGroupInterval($dwId: UUID!, $interval: Int!) {
  setDefaultIncidentGroupInterval(dwId: $dwId, interval: $interval) {
    warehouseConfig
  }
}

Types used only by setDefaultIncidentGroupInterval

SetDefaultIncidentGroupInterval

Object type. Set default incident grouping interval (in hours) for a warehouse.

FieldTypeDescription
warehouseConfigJSONStringWarehouse configuration.

Related types

JSONString, UUID

setDefaultLineageAlertGrouping (mutation)

setDefaultLineageAlertGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Set default lineage grouping for alert for a warehouse.

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID.
enabledBoolean!Whether to enable or disable lineage grouping

Returns

SetDefaultLineageAlertGrouping

Example

mutation SetDefaultLineageAlertGrouping($dwId: UUID!, $enabled: Boolean!) {
  setDefaultLineageAlertGrouping(dwId: $dwId, enabled: $enabled) {
    enabled
  }
}

Types used only by setDefaultLineageAlertGrouping

SetDefaultLineageAlertGrouping

Object type.

FieldTypeDescription
enabledBooleanWarehouse lineage grouping status.

Related types

UUID

setDefaultLineageIncidentGrouping (mutation)

setDefaultLineageIncidentGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use setDefaultLineageAlertGrouping instead

DEPRECATED. Set default lineage grouping for incident for a warehouse.

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID.
enabledBoolean!Whether to enable or disable lineage grouping

Returns

SetDefaultLineageIncidentGrouping

Example

mutation SetDefaultLineageIncidentGrouping($dwId: UUID!, $enabled: Boolean!) {
  setDefaultLineageIncidentGrouping(dwId: $dwId, enabled: $enabled) {
    enabled
  }
}

Types used only by setDefaultLineageIncidentGrouping

SetDefaultLineageIncidentGrouping

Object type.

FieldTypeDescription
enabledBooleanWarehouse lineage grouping status.

Related types

UUID

toggleAlertGrouping (mutation)

toggleAlertGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Enable/disable alert grouping for a warehouse.

Arguments

ArgumentTypeDescription
disabledBoolean!Whether to enable or disable grouping
dwIdUUID!The warehouse's UUID.

Returns

ToggleAlertGrouping

Example

mutation ToggleAlertGrouping($disabled: Boolean!, $dwId: UUID!) {
  toggleAlertGrouping(disabled: $disabled, dwId: $dwId) {
    disabled
  }
}

Types used only by toggleAlertGrouping

ToggleAlertGrouping

Object type.

FieldTypeDescription
disabledBooleanWarehouse incident grouping status.

Related types

UUID

toggleCreateAlertsInDatasource (mutation)

toggleCreateAlertsInDatasource is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Enable/disable the creation of alerts in the warehouse (when supported)

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID
enableBoolean!If true, enable the creation of alerts in data source

Returns

ToggleCreateAlertsInDatasource

Example

mutation ToggleCreateAlertsInDatasource($dwId: UUID!, $enable: Boolean!) {
  toggleCreateAlertsInDatasource(dwId: $dwId, enable: $enable) {
    enabled
  }
}

Types used only by toggleCreateAlertsInDatasource

ToggleCreateAlertsInDatasource

Object type. Enable/disable the creation of alerts in the warehouse (when supported)

FieldTypeDescription
enabledBoolean

Related types

UUID

toggleIncidentGrouping (mutation)

toggleIncidentGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use toggleAlertGrouping instead

DEPRECATED. Enable/disable incident grouping for a warehouse.

Arguments

ArgumentTypeDescription
disabledBoolean!Whether to enable or disable grouping
dwIdUUID!The warehouse's UUID.

Returns

ToggleIncidentGrouping

Example

mutation ToggleIncidentGrouping($disabled: Boolean!, $dwId: UUID!) {
  toggleIncidentGrouping(disabled: $disabled, dwId: $dwId) {
    disabled
  }
}

Types used only by toggleIncidentGrouping

ToggleIncidentGrouping

Object type.

FieldTypeDescription
disabledBooleanWarehouse incident grouping status.

Related types

UUID

toggleSchemaChangeAlertGrouping (mutation)

toggleSchemaChangeAlertGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Enable/disable schema change alert grouping for a warehouse.

Arguments

ArgumentTypeDescription
disabledBoolean!Whether to enable or disable grouping
dwIdUUID!The warehouse's UUID.

Returns

ToggleSchemaChangeAlertGrouping

Example

mutation ToggleSchemaChangeAlertGrouping($disabled: Boolean!, $dwId: UUID!) {
  toggleSchemaChangeAlertGrouping(disabled: $disabled, dwId: $dwId) {
    disabled
  }
}

Types used only by toggleSchemaChangeAlertGrouping

ToggleSchemaChangeAlertGrouping

Object type.

FieldTypeDescription
disabledBooleanWarehouse schema change grouping status.

Related types

UUID

toggleSchemaChangeIncidentGrouping (mutation)

toggleSchemaChangeIncidentGrouping is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use toggleSchemaChangeAlertGrouping instead

DEPRECATED. Enable/disable schema change incident grouping for a warehouse.

Arguments

ArgumentTypeDescription
disabledBoolean!Whether to enable or disable grouping
dwIdUUID!The warehouse's UUID.

Returns

ToggleSchemaChangeIncidentGrouping

Example

mutation ToggleSchemaChangeIncidentGrouping($disabled: Boolean!, $dwId: UUID!) {
  toggleSchemaChangeIncidentGrouping(disabled: $disabled, dwId: $dwId) {
    disabled
  }
}

Types used only by toggleSchemaChangeIncidentGrouping

ToggleSchemaChangeIncidentGrouping

Object type.

FieldTypeDescription
disabledBooleanWarehouse schema change grouping status.

Related types

UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.