Common types: CustomRule to CustomRuleQuery (GraphQL)

Types used by operations in more than one area. Each type has its own section.

CustomRule

CustomRule is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
idID!The ID of the object.
createdTimeDateTime!
updatedTimeDateTime!
uuidUUID!
accountUuidUUIDCustomer account id
projects[String!]Databases associated with the monitor
datasets[String!]Schemas associated with the monitor
isDeletedBoolean!
deletedAtDateTime
descriptionString
notesString
labels[String]Monitor labels
failureAudiences[String!]The monitor notification audiences for failures
isTemplateManagedBoolean!Is this monitor managed by a configuration template (monitors-as-code)?
namespaceStringNamespace of rule, used for monitors-as-code
severityStringDEPRECATED. Use priority instead. The default severity for incidents involving this monitor Deprecated: Please use priority instead.
priorityStringThe default priority for alerts involving this monitor
comparisons[CustomRuleComparison]!
isPausedBooleanTrue if rule is paused
pausedReasonStringIf non-null, identifies the automated system that paused this monitor so it can later unpause only the monitors it paused. No writer sets a non-null value; the vocabulary it drew from is gone.
isDraftBooleanTrue if rule is a draft
isAutoCreatedBoolean!Was this monitor auto-created by the (removed) recommendation service? Read-only historical marker; nothing sets this any more.
autoApplyTuningOverrideBooleanDeprecated: Use autoTuning instead.
autoTriageOverrideBooleanDeprecated: Use autoTriage instead.
alertGroupingAlertGroupingPer-monitor alert grouping configuration. Null means legacy per-type grouping; a non-null value enables monitor-based alert grouping.
ruleTypeCustomRuleModelRuleType
warehouseUuidUUID!
intervalMinutesInt
intervalCrontab[String!]
startTimeDateTime!
timezoneString!
creatorIdStringDisplay label for the user who created the rule. Returns the user's email for human users; for agent users, returns a derived display label (e.g. Bayes on <domain>) — never the agent's internal address.
updaterIdStringDisplay label for the user who last updated the rule. Returns the user's email for human users; for agent users, returns a derived display label (e.g. Bayes on <domain>) — never the agent's internal address.
prevExecutionTimeDateTime
nextExecutionTimeDateTime
lastCheckTimestampDateTime
snoozeUntilTimeDateTime
slackSnoozeUserStringThe slack user who last snoozed the rule
conditionalSnoozeBoolean!
eventRollupUntilChangedBooleanIf true, roll up events until the condition changes
eventRollupCountIntThe number of events to roll up into a single incident
scheduleDataCollectorSchedule
dcScheduleUuidUUID
dataCollectionDcScheduleUuidUUID
customSqlString
overrideBoolean!
fields[String!]Fields used in predefined SQL rules
generatedByCustomRule
entities[String!]Tables referenced in query
dataSourceMonitorDataSource
ruleNameStringName of rule, must be unique per account, used for rule identityresolution for monitors-as-code
sequenceNumberInt!Last sequence number, used by growth volume SLIs
systemSnoozeUntilTimeDateTimeSnoozes rule execution, but not available to users as snooze_until_time
queryResultTypeCustomRuleModelQueryResultTypeSpecifies the expected result type of the custom SQL query (e.g. a single numeric value). The null value will default to row count
customSamplingSqlStringCustom query to sample the data on breach
samplingEntities[String!]Full table IDs referenced in custom_sampling_sql (from SQL parser)
samplingEntityMcons[String!]MCONs for tables in custom_sampling_sql (only ingested tables)
sqlBlocksCustomRuleSqlBlocksSQL blocks used on the monitor
exceptionPrimaryKeyColumnStringColumn name to use as primary key for exception management.
generatedRulesCustomRuleConnection!
queriesCustomRuleQueryConnection!
entityMcons[String]MCONs for monitored tables/views
renderedCustomSqlStringDeprecated: Use customSql instead.
autoTuningBooleanRaw per-monitor auto-apply-tuning override: true forces auto-apply tuning on for this monitor, false forces it off, null inherits the domain/account setting. Read from the top-level monitor that owns the override, so a generated child rule reports its parent's value. Set via the monitor create/update mutation's autoTuning input.
effectiveAutoTuningBooleanEffective auto-apply-tuning state after the hard gates and the monitor → domain → account inherit chain. Null when the viewer does not have access to the AI-agents settings, so the resolved account/domain posture is not exposed to a monitor-only viewer.
autoTriageBooleanRaw per-monitor automated-triage override: true forces triage on for this monitor, false forces it off, null inherits the domain/account setting. Read from the top-level monitor that owns the override, so a generated child rule reports its parent's value. Set via the monitor create/update mutation's autoTriage input.
scheduleConfigScheduleConfigOutput
dataCollectionScheduleConfigScheduleConfigOutput
notificationSettings[AccountNotificationSetting!]!
isSnoozedBooleanTrue if rule is currently snoozed
migratedToUuidUUIDUUID of the rule this was migrated to, if applicable
audienceConditions[AudienceCondition!]!Per-audience triage conditions for this monitor, keyed by audience name so they join to audiences. Sparse: an audience absent from this list is notified unconditionally. Empty when the monitor has no conditions at all.
fieldMetricFieldMetricOutputField quality rule parameters (if query generated by getFieldMetricQuery)
evaluatedCountMetricNameStringName of the metric series where this rule's per-run evaluated row count is recorded. Null when the rule records no such series. For a monitor with variables, each child rule records its own series under its own UUID and the template parent records none. Read the series with getMetricsV4, passing this rule's UUID as the monitor ID. A returned name does not mean data exists: runs can fail or predate recording.
fieldQueryParametersFieldQueryParametersOutputField query parameters (if query generated by getFieldQuery) Deprecated: No longer supported. Use Validation monitors instead for cardinality checks..
queryTemplateIdStringQuery template ID (if query generated by getQueryTemplate) Deprecated: No longer supported. Use Validation monitors instead for referential integrity checks..
queryTemplateVariableValues[QueryTemplateVariableValueOutput!]Values for the template variables (if query generated by getQueryTemplate). Deprecated: No longer supported. Use standard Custom SQL monitors instead..
suggestedCustomSamplingSqlStringA suggested investigation query for this rule: the monitor's own current custom SQL, base64-encoded. Only populated when no investigation query is explicitly configured (custom_sampling_sql is NULL).
selectionQuerySelectionSelection of the monitored queries
isOotbReplacementBooleanIndicate if this rule replaces the default ootb detector
isMigratedFromFieldQualityBooleanIndicate if the monitor was migrated from a field quality (metrics legacy) rule
connectionIdUUIDThe connection UUID associated with the rule
timeoutIntTimeout for the SQL query
agentSpanFilters[AgentSpanFilter!]Agent span filters for agent trajectory monitors
agentSpanAlertConditionAgentSpanConditionAgent span alert condition for agent trajectory monitors
trajectoryScopeTrajectoryScopeWhere an agent trajectory monitor counts its conditions: within each trace, or across the conversation before each trigger span. Null for other rule types.
triggerSpanFilterSpanSpan that triggers a check of a conversation-scope agent trajectory monitor. Null for trace-scope monitors and other rule types.
filtersFilterGroupWHERE condition filters for monitors that support a structured filter group — currently agent trajectory, agent validation, and form-mode validation monitors. Null for all other rule types.
timeFilterTimeFilterStructured rolling-window time filter, when one was saved on the monitor. Mutually exclusive with timeFilterSqlExpression. Only populated for agent trajectory, agent validation, and form-mode validation monitors; null for all other rule types.
timeFilterSqlExpressionStringFree-form SQL fragment used as the WHERE clause for the time filter, when the monitor was saved with one. Mutually exclusive with timeFilter. Only populated for form-mode validation monitors; null for all other rule types.
mcSqlStringSQL query for the monitor
tags[TagKeyValuePairOutput]The monitor tags.
dataQualityDimensionStringData Quality Dimension of the monitor.
domainUuids[UUID!]Domain UUIDs assigned to the monitor.
domains[DomainOutput!]Domains assigned to the monitor, resolved to full domain objects.
isAgentTraceAggregationBooleanIf True, aggregate spans by trace_id for agent monitors.
agentMconStringMCON identifying the platform agent, if this is a platform agent monitor.
notifyRuleRunFailureBooleanDEPRECATED: Replaced by failure audiences Deprecated: Replaced by failure audiences.
variablesJSONStringVariables for the query
variableDefinitions[VariableDefinition!]Variables definitions used in the query
isTrackingBoolean!Whether this monitor tracks results without alerts.
isTrackingOnlyBoolean!DEPRECATED. Always false. Use isTracking.
supportsMonitorsAsCodeBoolean!Whether this monitor type can be exported to and managed as code (Monitors-as-Code).

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

CustomRuleComparison

CustomRuleComparison is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
evalFailureConditionEvalFailureConditionThe eval failure condition retained while this metric is in Track mode.
comparisonTypeComparisonType!Type of comparison
fullTableIdString
fullTableIds[String]
fieldString
fields[String!]
metricString
customMetricCustomMetricCustom metric, if defined with a custom metric
customPiiRegexCustomRulePiiRegexCustom PII regex, if defined with a custom regex
fieldPatternFieldPatternTypeField pattern for bulk monitors
operatorCustomRuleComparisonOperator!Comparison operator
thresholdFloatThreshold value
isPercentageThresholdBooleanTrue if threshold is evaluated as a percentage of a baseline value.
percentageBaselineSqlStringSQL query counting the population the monitor evaluates. Accepted on any threshold type; required for a percentage threshold.
breachCountMetricStringAuxiliary metric name storing raw breached-row counts for percentage mode.
baselineMetricStringAuxiliary metric name storing baseline values for percentage mode.
branchAttributions[BranchAttribution!]Per-OR-branch attributions for multi-condition validation monitors (YET-1399). One entry per top-level OR child in the rule's alert_condition, with the branch's auxiliary metric name and a render-time label. null for single-condition / non-validation / top-level-AND rules, or any dialect that fell through the no-sampling safety net.
upperThresholdFloatUpper threshold value
lowerThresholdFloatLower threshold value
baselineAggFunctionAggregationFunctionFunction used to aggregate historical data points to calculate baseline
baselineIntervalMinutesIntTime interval to aggregate over to calculate baseline.
isThresholdRelativeBooleanTrue, if threshold is a relative percentage change of baseline. False, if threshold is absolute change
isFreshnessFromMetadataBooleanTrue if freshness is calculated from metadata.
thresholdLookbackMinutesIntTime to look back for rules which compare current and past values.
thresholdRefStringKey used to retrieve the threshold values from external source
thresholdSensitivitySensitivityLevelsSensitivity for automated thresholds
minBufferThresholdModifierThe lower bound buffer to modify the alert threshold
maxBufferThresholdModifierThe upper bound buffer to modify the alert threshold
numberOfAggPeriodsIntThe number of periods to use in the aggregate comparison for Volume Growth comparisons.
dataCollectionIntervalMinutesIntTime interval of data collection for the rule.
ruleIntervalMinutesIntTime interval for the rule evaluation.
thresholdLookbackDataPointsIntNumber of data points to look back for rules which compare current and past values.
sourceMetricStringName of source metric
targetMetricStringName of target metric
sourceFieldStringName of source field
targetFieldStringName of target field
baselineTrailingDaysIntNumber of trailing days for the rolling baseline window
baselineStartDateTimeStart of the fixed baseline period
baselineEndDateTimeEnd of the fixed baseline period
numBinsIntNumber of equi-width bins for drift metric distribution comparison

Used by 340 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 300 more.

CustomRuleComparisonInput

CustomRuleComparisonInput is an input object type in the Monte Carlo GraphQL API.

FieldTypeDescription
comparisonTypeComparisonTypeDefault: "THRESHOLD".
fullTableIdString
fullTableIds[String]
mconString
fieldString
fields[String!]
metricString
customMetricCustomMetricInput
operatorCustomRuleComparisonOperatorComparison operator
thresholdFloatThreshold value
isPercentageThresholdBooleanTrue if threshold is evaluated as a percentage of a baseline value.
percentageBaselineSqlStringSQL query counting the population the monitor evaluates. Accepted on any threshold type; required for a percentage threshold.
upperThresholdFloatUpper threshold value
lowerThresholdFloatLower threshold value
baselineAggFunctionAggregationFunctionFunction used to aggregate historical data points to calculate baseline
baselineIntervalMinutesIntTime interval to aggregate over to calculate baseline.
isThresholdRelativeBooleanTrue, if threshold is a relative percentage change of baseline. False, if threshold is absolute change
thresholdLookbackMinutesIntTime to look back for rules which compare current and past values.
thresholdRefStringKey used to retrieve the threshold values from external source
thresholdSensitivitySensitivityLevelsSensitivity for automated thresholds
minBufferThresholdModifierInputThe lower bound buffer to modify the alert threshold.
maxBufferThresholdModifierInputThe upper bound buffer to modify the alert threshold.
numberOfAggPeriodsIntThe number of periods to use in the aggregate comparison for Volume Growth comparisons.
thresholdLookbackDataPointsIntNumber of data points to look back for rules which compare current and past values.

Used by 13 operations: createCustomMetricRule (mutation), createCustomRule (mutation), createOrUpdateComparisonRule (mutation), createOrUpdateCustomMetricRule (mutation), createOrUpdateCustomRule (mutation), createOrUpdateFieldQualityRule (mutation), createOrUpdateFreshnessCustomRule (mutation), createOrUpdateMonitor (mutation), createOrUpdateQueryPerfRule (mutation), createOrUpdateVolumeRule (mutation), evaluateComparisons (query), getQueryPerfMonitorExplanation (query), simulateQueryPerfMonitorEvaluation (query).

CustomRuleComparisonOperator

CustomRuleComparisonOperator is an enum type in the Monte Carlo GraphQL API.

ValueDescription
EQ
NEQ
LT
LTE
GT
GTE
INSIDE_RANGE
OUTSIDE_RANGE
IS_NULL
IS_NOT_NULL
AUTO
AUTO_HIGH
AUTO_LOW
NOOP

Used by 345 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 305 more.

CustomRuleConnection

CustomRuleConnection is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[CustomRuleEdge]!Contains the nodes in this connection.

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

CustomRuleEdge

CustomRuleEdge is an object type in the Monte Carlo GraphQL API.

A Relay edge containing a CustomRule and its cursor.

FieldTypeDescription
nodeCustomRuleThe item at the end of the edge
cursorString!A cursor for use in pagination

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

CustomRuleModelQueryResultType

CustomRuleModelQueryResultType is an enum type in the Monte Carlo GraphQL API.

ValueDescription
SINGLE_NUMERICSINGLE_NUMERIC
ROW_COUNTROW_COUNT
LABELED_NUMERICSLABELED_NUMERICS
VALUE_LISTVALUE_LIST
UNIQUE_VALUE_LISTUNIQUE_VALUE_LIST
UNIQUE_ROW_COUNTUNIQUE_ROW_COUNT
ROWSROWS

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

CustomRuleModelRuleType

CustomRuleModelRuleType is an enum type in the Monte Carlo GraphQL API.

ValueDescription
CUSTOM_SQLCustom SQL
FRESHNESSFreshness
VOLUMEVolume
QUERY_PERFQuery performance
COMPARISONComparison
VALIDATIONValidation
AGENT_TRAJECTORYAgent Trajectory
AGENT_VALIDATIONAgent Validation
TABLE_METRICTable metric rule
FIELD_QUALITYMetric - legacy

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

CustomRulePiiRegex

CustomRulePiiRegex is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
uuidUUID!UUID to identify the custom PII regex
nameString!Display name of the custom PII regex
patternString!Regex pattern for the custom PII check
caseInsensitiveBooleanWhether matching should ignore case

Used by 340 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 300 more.

CustomRuleQuery

CustomRuleQuery is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
createdTimeDateTime!
updatedTimeDateTime!
createdByUserCreator
lastUpdateUserUserLast updated by
uuidUUID!
nameString!Query name
sqlQueryString!SQL query text
warehouseUuidUUID!Warehouse to query
connectionUuidUUIDConnection to use for query. Supports multi-query engine setups (vs. lookup from warehouse).
projects[String!]Projects associated with the query
datasets[String!]Datasets associated with the query
entities[String!]Tables referenced in query
entityMcons[String!]MCONs for tables referenced in query
idID!The ID of the object.

Used by 339 operations: addBiConnection (mutation), addConnection (mutation), addCustomBiConnector (mutation), addCustomConnector (mutation), addCustomEtlConnector (mutation), addDatabricksConnection (mutation), addEtlConnection (mutation), addOrUpdateCustomDashboardWidget (mutation), addPowerBiDataflowsConnection (mutation), addRedshiftConsumerConnection (mutation), addSalesforceDataCloudEtlConnection (mutation), addSnowflakeTasksConnection (mutation), addStreamingConnection (mutation), addStreamingSystem (mutation), batchUpdatePiiBulkMonitors (mutation), bulkCreateOrUpdateObjectProperties (mutation), caasLinkCollectionResources (mutation), connectPlatformServiceToLegacyBucket (mutation), convertConfigTemplateToUiMonitors (mutation), convertUiMonitorsToConfigTemplate (mutation), createAzureDevopsIntegration (mutation), createCollectorRecord (mutation), createCustomMetricRule (mutation), createCustomRule (mutation), createCustomUser (mutation), createCustomerMcpServer (mutation), createDatadogIncidentForAlert (mutation), createDatadogIntegration (mutation), createJiraIntegration (mutation), createLogsIntegration (mutation), createOpsgenieIntegration (mutation), createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTraceTable (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), createOrUpdateAgenticNotificationRoute (mutation), createOrUpdateAlationIntegration (mutation), and 299 more.

Source: The GraphQL API reference

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