Related queries and mutations in Monitors. Each has its own section.
Mutations
pauseTableMonitor (mutation)
pauseTableMonitor is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Enable a Table monitor
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuid | UUID! | UUID of the table monitor to pause/unpause |
pause | Boolean! | Pause state of the monitor |
reason | String | Justification for the change, recorded as a monitor comment. |
Returns
PauseTableMonitor
Example
mutation PauseTableMonitor($monitorUuid: UUID!, $pause: Boolean!) {
pauseTableMonitor(monitorUuid: $monitorUuid, pause: $pause) {
tableMonitor {
createdTime
updatedTime
uuid
accountUuid
isDeleted
deletedAt
description
notes
isTemplateManaged
namespace
priority
isPaused
isDraft
warehouseUuid
monitorName
domainRestrictions
enableRowCountCollectionLimit
id
sensitivity
autoTuning
}
}
}Types used only by pauseTableMonitor
pauseTableMonitorPauseTableMonitor
PauseTableMonitorObject type. Pause/unpause a table monitor to enable or suppress notifications
| Field | Type | Description |
|---|---|---|
tableMonitor | TableMonitor |
Related types
runTableMonitorValidation (mutation)
runTableMonitorValidation is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Start a monitor validation process for a table
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String | MC resource unique identifier |
Returns
RunTableMonitorValidation
Example
mutation RunTableMonitorValidation {
runTableMonitorValidation {
success
}
}Types used only by runTableMonitorValidation
runTableMonitorValidationRunTableMonitorValidation
RunTableMonitorValidationObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | True if initialized successfully |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
