Monitors: types (GraphQL)

Types used by more than one operation in Monitors. Each type has its own section.

AggregateInput

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

FieldTypeDescription
byMonitorAggTimeInterval!The aggregation time interval to use.
timeAxisFilterValueUnionInput!Time axis to group by
timezoneStringIANA timezone name (e.g. 'America/New_York') or fixed UTC offset (e.g. '+05:30') for the time axis column. Only applicable when the time axis column stores timestamps without timezone information. When provided, values are interpreted in that timezone before being converted to UTC.

Used by 2 operations: createOrUpdateBulkMonitor (mutation), createOrUpdateMetricMonitor (mutation).

CircuitBreakerState

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

FieldTypeDescription
jobExecutionUuidUUIDUUID for the job execution that identifies the circuit breaker run
accountUuidUUIDUUID for the account that owns the rule
resourceUuidUUIDUUID for the warehouse that owns the rule
customRuleUuidUUIDUUID for the custom rule that was run as a circuit breaker
statusSqlJobCheckpointStatusStatus of the circuit breaker run
logJSONStringArray of JSON objects containing state for each stage of the job execution

Used by 3 operations: getCircuitBreakerRuleState (query), getCircuitBreakerRuleStateV2 (query), getRunSqlRuleState (query).

ClusterFilterInput

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

FieldTypeDescription
clusteringSpaceUuidString!
clusterKeys[String!]

Used by 2 operations: evaluateSqlBlocks (query), generateMcSql (query).

CollectionStatusOutput

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

FieldTypeDescription
intervalInSecondsFloatInterval in seconds between data collections
intervalCrontab[String]Interval as cron expressions between data collections
nextRunDateTimeDate & time of next collection run

Used by 3 operations: getFreshnessTableMonitor (query), getUcsTableMonitor (query), getVolumeChangeTableMonitor (query).

ComparisonAlertConditionInput

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

FieldTypeDescription
metricString
customMetricCustomComparisonMetricInput
sourceFieldString
targetFieldString
typeStringDefault: "comparison_delta".
operatorStringDefault: "GT".
thresholdValueFloat
isThresholdRelativeBooleanDefault: false.

Used by 2 operations: createOrUpdateComparisonMonitor (mutation), evaluateComparisonMonitorAlertConditions (query).

ComparisonEvaluationResults

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

FieldTypeDescription
errors[Error!]!
fieldMetricTimeSeriesCountIntNumber of separate field/metric time series in the query.
maxSegmentsIntMaximum number of allowed segments for the given field and metric selection.

Used by 3 operations: evaluateAlertConditions (query), evaluateComparisonMonitorAlertConditions (query), evaluateComparisons (query).

CustomComparisonMetricInput

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

FieldTypeDescription
uuidUUID
displayNameString
sourceSqlExpressionString
targetSqlExpressionString

Used by 2 operations: createOrUpdateComparisonMonitor (mutation), evaluateComparisonMonitorAlertConditions (query).

CustomMetricQueryInput

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

FieldTypeDescription
connectionIdUUIDConnection UUID to use for the query
dataSourceDataSourceUnionInputTarget data source
mconStringMcon of the target table
sqlExpressionString!SQL expression of the custom metric
timeAxisNameStringTime axis name
timeAxisTypeStringTime axis type
aggTimeIntervalMonitorAggTimeIntervalAggregation time interval to use. (defaults to HOUR)
whereConditionStringWHERE condition to apply to the query
useLiteralPeriodBooleanUse a literal period in the queries
collectionLagHoursIntTime to offset the collection time bucket by in hours. Only when using literal periods

Used by 2 operations: getCustomMetricTestQuery (query), runCustomMetricTestQuery (query).

CustomRuleSqlBlocksInput

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

FieldTypeDescription
alertConditionFilterGroupInput
whereConditionFilterGroupInput
groupBy[FilterValueUnionInput!]
agentSpanFilterGroupInput
clusterFilterClusterFilterInput
agentSpanAlertConditionAgentSpanConditionInput
collectionLagHoursInt
trajectoryScopeTrajectoryScopeDefault: "TRACE".
triggerSpanFilterSpanInput

Used by 2 operations: evaluateSqlBlocks (query), generateMcSql (query).

EffectiveTableMonitorOutput

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

Reference to the table monitor whose sensitivity an asset-level monitor inherits.

FieldTypeDescription
uuidUUID!UUID of the covering table monitor
descriptionStringUser-facing description of the covering table monitor
sensitivityLevelSensitivityLevels!Sensitivity configured on the covering table monitor.
isOverriddenBoolean!True when an asset-level pin supplies this asset's effective sensitivity instead of the covering table monitor's. The pin may happen to match the table monitor's value, but the asset's sensitivity is anchored to the pin and won't follow subsequent table-monitor changes.

Used by 3 operations: getFreshnessTableMonitor (query), getUcsTableMonitor (query), getVolumeChangeTableMonitor (query).

ExtendedDataSourceInput

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

FieldTypeDescription
dataSourceDataSourceUnionInput!Data source can be table or sql.
dwIdUUID!Warehouse of the data source.
whereConditionStringWhere condition used for table data source.
segments[FilterValueUnionInput!]segments for data source.
connectionUuidUUIDConnection UUID for the data source.
timeoutIntTimeout for the SQL query.

Used by 2 operations: createOrUpdateComparisonMonitor (mutation), evaluateComparisonMonitorAlertConditions (query).

FieldMetricCategory

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

ValueDescription
PIPELINE
COMPLETENESS
DISTRIBUTION
UNIQUENESS
VALIDITY
CUSTOM
ML_REGRESSION_PERFORMANCE
ML_CLASSIFICATION_PERFORMANCE
ML_CARDINALITY
ML_DRIFT

Used by 2 operations: getComparisonMonitorFieldMetricDefinitions (query), getFieldMetricDefinitions (query).

FieldMetricDefinition

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

FieldTypeDescription
nameString!Name of the field metric
displayNameString!Display name of the field metric
descriptionString!Description of the field metric
categoryFieldMetricCategory!Category of the field metric. For example, uniqueness, validity, etc
unitMetricUnit!Unit of the field metric
isPercentageBoolean!Whether this field metric represents a percentage metric. For example, % null
fieldTypes[FieldType]!A list of field types which this metric applies to
deprecatedBoolean!Indicates if the field metric was deprecated
supportsManualThresholdBoolean!Indicates whether the metric can be used in a Metric Monitor with manual thresholds
supportsAutoThresholdBoolean!Indicates whether the metric can be used in a Metric Monitor with automatic thresholds
supportsAutoHighThresholdBoolean!Indicates whether the metric can be used in a Metric Monitor with automatic thresholds (considering only anomalously high values)
supportsAutoLowThresholdBoolean!Indicates whether the metric can be used in a Metric Monitor with automatic thresholds (considering only anomalously low values)
isGroupedBoolean!Indicates whether this metric is a collection (grouping) of other metrics
isFieldLevelBoolean!Indicates whether this metric is a field level metric
supportsAllFieldsBoolean!Whether this metric supports 'all fields' selection
requiredFieldCountInt!Number of fields required (0=table, 1=single-field, 2+=multi-field)
requiresBaselineBoolean!Whether this metric requires a trailing-window baseline context for SQL generation (e.g. cardinality metrics that compare current vs baseline values)
supportsBinningFieldTypes[FieldType!]!Field types for which the num_bins parameter is meaningful (equi-width binning). Empty list means this metric does not use binning. Categorical field types (e.g. TEXT, BOOLEAN) use distinct-value bins and ignore num_bins. Default bin count: 10.

Used by 2 operations: getComparisonMonitorFieldMetricDefinitions (query), getFieldMetricDefinitions (query).

FieldMetricFilterInput

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

FieldTypeDescription
fieldNameStringField to filter by
operatorCustomRuleComparisonOperator!Operator to filter field by
valueStringValue to filter field by

Used by 4 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), createOrUpdateFieldQualityRule (mutation), getFieldMetricQuery (query).

FieldMetricInput

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

FieldTypeDescription
tableMconStringMCON of the table the metric is based on
tableMcons[String]MCONs of the table the metric is based on
fieldNameStringName of the field the metric is based on
fieldNames[String]Name of the fields the metric is based on
metricTypeFieldMetricType!Type of metric to compute
valueList[String]Values for metrics that check for cardinality
valueSqlStringValues SQL expression for metrics that check for cardinality
filters[FieldMetricFilterInput]Filters for which rows the metric is computed over

Used by 3 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), getFieldMetricQuery (query).

FieldQueryFilterInput

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

FieldTypeDescription
fieldNameStringField to filter by
operatorCustomRuleComparisonOperator!Operator to filter field by
valueStringValue to filter field by

Used by 3 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), getFieldQuery (query).

FieldQueryParametersInput

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

FieldTypeDescription
tableMcons[String]!MCONs of the table the query is based on
fieldNames[String]!Name of the fields the query is based on
queryTypeFieldQueryType!Type of query
valueList[String]Values for queries that check for cardinality
valueSqlStringValues SQL expression for metrics that check for cardinality
filters[FieldQueryFilterInput]Filters for which rows the query is computed over

Used by 3 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), getFieldQuery (query).

InternalJobType

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

ValueDescription
AGENT_DATA_LINEAGE
AGENT_REACHABILITY
AGENT_SPANS
CONNECTION_MANIFEST
DIRECT_LINEAGE
ETL
JSON_SCHEMA
METADATA
PLATFORM_TRACE_EXPORT
QUERY_LOGS
QUERY_LOGS_BOOTSTRAP
REPORTS
S3_METADATA_EVENTS
S3_QL_EVENTS
SLO
SQL_QUERY
STREAM_METADATA
TABLEAU_GQL
WAREHOUSE_USAGE

Used by 2 operations: getCollectorJobLimits (query), getJobSchedules (query).

JobAssetFilterDbtProject

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
dbtProjectUuids[UUID!]!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetFilterInterface

JobAssetFilterInterface is an interface type in the Monte Carlo GraphQL API.

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetFilterJobMcon

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
jobMcons[String!]!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetFilterTag

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
jobTags[String!]!
jobTagsOperatorJobAssetFilterTagOperator!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetFilterTagOperator

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

ValueDescription
HAS_ANY
HAS_ALL

Used by 3 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query), getJobMonitor (query).

JobAssetFilterTagPair

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
jobTagPairs[JobTagPair!]!
jobTagsOperatorJobAssetFilterTagOperator!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetFilterType

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

ValueDescription
JOB_TAG
JOB_TAG_PAIR
JOB_MCON
DBT_PROJECT
FULL_TABLE_ID
DATABASE
SCHEMA

Used by 3 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query), getJobMonitor (query).

JobAssetFilterUnionInput

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

FieldTypeDescription
jobTags[String!]
jobTagPairs[JobTagPairInput!]
jobTagsOperatorJobAssetFilterTagOperator
jobMcons[String!]
dbtProjectUuids[UUID!]
typeJobAssetFilterType!
negatedBooleanDefault: false.

Used by 2 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query).

JobAssetSelection

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

FieldTypeDescription
filters[JobAssetFilterInterface!]!
filtersJoinerAssetFilterJoiner!How the include filter rows combine. OR (default): a job is in scope when it matches any row. AND: a job is in scope only when it matches every row, so the selection narrows as rows are added. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
exclusions[JobAssetFilterInterface!]!
exclusionsJoinerAssetFilterJoiner!How the exclude filter rows combine. OR (default): a job is excluded when it matches any row. AND: a job is excluded only when it matches every row, so the selection widens as rows are added. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
tableFilters[JobTableFilterInterface!]!dbt only. Table filter rows, ANDed with the job-side filters: a dbt node failure is in scope only when its job matches and its table matches.
tableFiltersJoinerAssetFilterJoiner!How the table filter rows combine. OR (default): a table matches when it matches any row. AND: a table matches only when it matches every row. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
tableExclusions[JobTableFilterInterface!]!dbt only. Table exclusion rows: a dbt node failure on a table that matches them is out of scope, even when its job and its table filters match. On mutation updates, leaving this out keeps the stored monitor's value; send an empty list to clear it.
tableExclusionsJoinerAssetFilterJoiner!How the table exclusion rows combine. OR (default): a table is excluded when it matches any row. AND: a table is excluded only when it matches every row. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobAssetSelectionInput

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

FieldTypeDescription
filters[JobAssetFilterUnionInput!]
filtersJoinerAssetFilterJoinerHow the include filter rows combine. OR (default): a job is in scope when it matches any row. AND: a job is in scope only when it matches every row, so the selection narrows as rows are added. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
exclusions[JobAssetFilterUnionInput!]
exclusionsJoinerAssetFilterJoinerHow the exclude filter rows combine. OR (default): a job is excluded when it matches any row. AND: a job is excluded only when it matches every row, so the selection widens as rows are added. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
tableFilters[JobTableFilterUnionInput!]dbt only. Table filter rows, ANDed with the job-side filters: a dbt node failure is in scope only when its job matches and its table matches.
tableFiltersJoinerAssetFilterJoinerHow the table filter rows combine. OR (default): a table matches when it matches any row. AND: a table matches only when it matches every row. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.
tableExclusions[JobTableFilterUnionInput!]dbt only. Table exclusion rows: a dbt node failure on a table that matches them is out of scope, even when its job and its table filters match. On mutation updates, leaving this out keeps the stored monitor's value; send an empty list to clear it.
tableExclusionsJoinerAssetFilterJoinerHow the table exclusion rows combine. OR (default): a table is excluded when it matches any row. AND: a table is excluded only when it matches every row. On mutation updates, leaving this out keeps the stored monitor's value; monitors-as-code apply treats an absent joiner as OR, and exports omit the joiner when it is OR.

Used by 2 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query).

JobMonitor

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

A monitor that alerts when jobs of one integration fail.

FieldTypeDescription
uuidUUID!
nameString!Identifies the monitor in the account.
descriptionString!
notesString
priorityString
alertGroupingAlertGroupingPer-monitor alert grouping configuration. Null means legacy per-type grouping; a non-null value enables monitor-based alert grouping.
integrationTypeJobMonitorIntegrationType!
integrationUuidUUID!The integration the monitor covers: an ETL container, or a dbt connection.
assetSelectionJobAssetSelection!Rules that select jobs of the integration, such as by tag.
jobMcons[String!]!Jobs picked one by one, by MCON.
alertConditions[JobMonitorAlertCondition!]!The job events the monitor alerts on. All other events are muted.
audiences[String!]!
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.
failureAudiences[String!]!
tags[TagKeyValuePairOutput!]!
dataQualityDimensionString
domains[DomainOutput!]!
isPausedBoolean!
isDraftBoolean!
isTemplateManagedBoolean!Whether the monitor is managed by monitors-as-code.
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.
namespaceString!
createdTimeDateTime!
updatedTimeDateTime!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobMonitorAlertCondition

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

FieldTypeDescription
conditionString

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobMonitorIntegrationType

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

The type of integration a job monitor covers: an ETL integration such as Airflow, or a dbt connection type.

ValueDescription
FIVETRAN
AIRFLOW
DATABRICKS
INFORMATICA
INFORMATICA_V2
AZURE_DATA_FACTORY
MULESOFT
GCP_DATAFORM
SNOWFLAKE
CUSTOM_ETL_CONNECTOR
POWER_BI_DATAFLOW
SALESFORCE_DATA_CLOUD
DBT_CLOUD
DBT_CLOUD_V2
DBT_CLOUD_WEBHOOK
DBT_CORE

Used by 6 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query), getJobAlertConditions (query), getJobMonitor (query), getJobMonitorIntegrations (query), getJobMonitorMigration (query).

JobTableFilterDatabase

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
databases[String!]!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobTableFilterFullTableId

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
fullTableIdString!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobTableFilterInterface

JobTableFilterInterface is an interface type in the Monte Carlo GraphQL API.

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobTableFilterSchema

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

FieldTypeDescription
typeJobAssetFilterType!
negatedBoolean!
schemas[String!]!
databaseStringThe database the schemas belong to, matched exactly. Leave it out to match the schemas in any database.

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobTableFilterUnionInput

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

FieldTypeDescription
fullTableIdString
databases[String!]
schemas[String!]
databaseStringThe database the schemas belong to, matched exactly. Leave it out to match the schemas in any database.
typeJobAssetFilterType!
negatedBooleanDefault: false.

Used by 2 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query).

JobTagPair

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

FieldTypeDescription
nameString!
valueStringThe tag value. Leave it out to match only a tag that has no value.

Used by 2 operations: createOrUpdateJobMonitor (mutation), getJobMonitor (query).

JobTagPairInput

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

FieldTypeDescription
nameString!
valueStringThe tag value. Leave it out to match only a tag that has no value.

Used by 2 operations: createOrUpdateJobMonitor (mutation), evaluateJobSelection (query).

MetricMonitoringConnection

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

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

Used by 2 operations: getActiveMonitors (query), getMonitorsByType (query).

MetricMonitoringEdge

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

A Relay edge containing a MetricMonitoring and its cursor.

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

Used by 2 operations: getActiveMonitors (query), getMonitorsByType (query).

MetricUnit

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

FieldTypeDescription
singularString!Singular unit. For example, row
pluralString!Plural unit. For example, rows

Used by 2 operations: getComparisonMonitorFieldMetricDefinitions (query), getFieldMetricDefinitions (query).

MonitorComment

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

A comment on a monitor

FieldTypeDescription
uuidUUID!Unique identifier for the comment
monitorUuidUUID!UUID of the monitor this comment belongs to
textString!The comment text content
createdByUserUser who created the comment
createdTimeDateTime!When the comment was created
updatedTimeDateTime!When the comment was last updated
mentionedUsers[User!]Users that are mentioned in the comment

Used by 2 operations: createOrUpdateMonitorComment (mutation), getMonitorComments (query).

MonitorConfigurationStatus

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

ValueDescription
SUCCESS
NO_TIME_AXIS
NO_TIME_AXIS_BIG_TABLE
ERROR
INCOMPLETE
NOT_RUN

Used by 2 operations: getDefaultMonitorConfiguration (query), getTableMonitorConfiguration (query).

PiiMatchStrength

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

Pattern match strength of a PII finding. HIGH is a match rate of at least 0.8, MEDIUM is at least 0.2 and below 0.8, and LOW is below 0.2.

ValueDescription
HIGH
MEDIUM
LOW

Used by 2 operations: getPiiScanInventory (query), getPiiScanInventoryExportCsv (query).

PiiMonitorMode

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

ValueDescription
ALERT
SCAN

Used by 2 operations: batchUpdatePiiBulkMonitors (mutation), createPiiMonitor (mutation).

PiiScanColumnSummary

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

Server-side aggregate summary for one table column with PII findings

FieldTypeDescription
tableMconString!
fullTableIdString!
warehouseUuidUUIDWarehouse UUID for this grouped row. Null when a warehouse-tag source cannot be mapped to a warehouse.
projectNameString
datasetString
tableNameString
fieldStringDisplay column name for this grouped finding.
fieldKeyString!Normalized lowercase column key used to group findings.
findingCountInt!
piiTypes[String!]!
metrics[String!]!
maxMatchRateFloat!Highest PII match rate across findings in this grouped row.
scannedRowCountBigIntRows scanned for the grouped table, if available.
firstDetectedAtDateTime
lastScannedAtDateTime
monitorCountInt!
bulkMonitorNames[String!]!Names of PII bulk monitors contributing to this grouped row.
bulkMonitorUuids[UUID!]!UUIDs of PII bulk monitors contributing to this grouped row.
alertUuids[UUID!]!
warehouseTags[PiiScanWarehouseTag!]!Warehouse classification tags for this field, when collected.
snowflakeTags[PiiScanSnowflakeTag!]!Deprecated alias for warehouseTags.
sourceString!Whether this row came from MC scan results, warehouse tags, or both.
statusString!PII scan result status displayed by the inventory page.
actionTypeString!Recommended frontend CTA type for this row.
assetMconStringField asset MCON for asset-page navigation.
reviewStateString!Review state for this grouped row. ACTIVE means it is not currently marked as a false positive.
reviewReasonStringOptional free-text reason for the review state.
reviewedAtDateTimeWhen this grouped row was marked as not PII.

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanFinding

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

A latest nonzero finding from a PII scan monitor

FieldTypeDescription
tableMconString!
fullTableIdString!
warehouseUuidUUIDWarehouse UUID for this finding, when the source can be mapped to a warehouse.
fieldString
fieldKeyString!Normalized lowercase column key used to group findings.
piiTypeString!
metricString!
matchRateFloat!
lastScannedAtDateTime!
jobExecutionUuidUUID
scannedRowCountBigInt
firstDetectedAtDateTime
bulkMonitorUuidUUID
bulkMonitorNameString
alertUuidUUID
reviewStateString!Review state for this finding. ACTIVE means it is not currently marked as a false positive.
reviewReasonStringOptional free-text reason for the review state.
reviewedAtDateTimeWhen this finding was marked as not PII.

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanFindingReview

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

User review state for one PII scan finding identity.

FieldTypeDescription
warehouseUuidUUID!Warehouse UUID for the reviewed finding.
fullTableIdString!Fully qualified table identifier for the reviewed finding.
fieldKeyString!Normalized lowercase column key for the reviewed finding.
piiTypeString!PII type for the reviewed finding.
stateString!Current review state.
reasonStringOptional free-text reason supplied by the reviewer.
isActiveBoolean!Whether this review state is currently applied.
reviewedAtDateTimeWhen the finding was marked as not PII.
restoredAtDateTimeWhen the finding was restored, if applicable.

Used by 2 operations: markPiiScanFindingFalsePositive (mutation), restorePiiScanFindingFalsePositive (mutation).

PiiScanFindingsSummary

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

Latest nonzero PII scan findings for a PII bulk monitor

FieldTypeDescription
findings[PiiScanFinding!]!
latestScanTimeDateTime
hasMoreBoolean!
totalsPiiScanInventoryTotals!
tables[PiiScanTableSummary!]!
columns[PiiScanColumnSummary!]!
columnsHasMoreBoolean!Whether more grouped inventory rows are available after this page.
columnsTotalCountInt!Total grouped inventory rows in the selected scope.
columnsOffsetInt!Offset used for the returned grouped inventory rows.
columnsLimitInt!Maximum grouped inventory rows requested for this page.
filterOptionsPiiScanInventoryFilterOptions!

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanInventoryFilterOptions

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

Available scope filters for PII inventory

FieldTypeDescription
warehouses[PiiScanWarehouseOption!]!
projectNames[String!]!
datasets[String!]!
piiTypes[String!]!PII types detected in the selected warehouse, databases and schemas, for the requested review state. Not narrowed by the piiTypes or matchStrengths filters.

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanInventoryTotals

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

Server-side aggregate totals for PII scan findings

FieldTypeDescription
totalTablesWithPiiInt!
totalColumnsWithPiiInt!
totalFindingsInt!
totalTablesScannedInt!
totalRowsScannedBigInt
monitorCountInt!
piiTypes[String!]!PII types detected by the scan, after all filters. Warehouse-tag values aren't included.
hasWarehouseTagsBoolean!
totalWarehouseTaggedColumnsInt!
hasSnowflakeTagsBoolean!
totalSnowflakeTaggedColumnsInt!
totalUnexpectedColumnsInt!
firstDetectedAtDateTime
lastScannedAtDateTime

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanSnowflakeTag

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

Deprecated alias for warehouse classification tags.

FieldTypeDescription
nameString!
valueString
sourceString

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanTableSummary

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

Server-side aggregate summary for one table with PII findings

FieldTypeDescription
tableMconString!
fullTableIdString!
findingCountInt!
columnCountInt!
piiTypes[String!]!
maxMatchRateFloat!
firstDetectedAtDateTime
lastScannedAtDateTime
monitorCountInt!

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanWarehouseOption

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

Available warehouse scope for PII inventory filters

FieldTypeDescription
uuidUUID!
nameString

Used by 2 operations: getPiiScanFindings (query), getPiiScanInventory (query).

PiiScanWarehouseTag

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

Warehouse classification tag attached to a PII inventory field

FieldTypeDescription
nameString!
valueString
sourceString

Used by 3 operations: getPiiScanFindings (query), getPiiScanInventory (query), getPiiWarehouseTagSummary (query).

PiiType

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

ValueDescription
SSN
EMAIL
PHONE
US_ZIP_CODEDeprecated: No longer supported for PII monitors. Ignored on create and update..
US_STATE_CODEDeprecated: No longer supported for PII monitors. Ignored on create and update..
CREDIT_CARD
AU_TFN
AU_MEDICARE
AU_ABN
AU_PHONE
AU_POSTCODE

Used by 5 operations: batchUpdatePiiBulkMonitors (mutation), createJiraTicketForPiiScanFindings (mutation), createPiiMonitor (mutation), markPiiScanFindingFalsePositive (mutation), restorePiiScanFindingFalsePositive (mutation).

PredicateRequiredType

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

ValueDescription
ANY
TEXT
TIMESTAMP
DATE
REGEX
NUMBER

Used by 2 operations: getSqlPredicates (query), getTransformFunctions (query).

QueryTemplateVariableValueInput

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

FieldTypeDescription
nameStringVariable name
valueStringVariable value
valueJsonJSONStringVariable value (in JSON)

Used by 3 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), getQueryTemplate (query).

RequiredMonitorFields

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

Account-level configuration of which monitor fields are mandatory.

FieldTypeDescription
fields[RequiredMonitorField!]!Monitor fields that must be non-empty when a monitor is created or edited in this account. An empty list means no fields are required.
requiredTags[RequiredTag!]!Tag keys every monitor in this account must carry when it is created or edited. They apply whether or not fields includes TAGS, and replace the generic TAGS check when non-empty. An empty list means no specific tags are required.
updatedTimeDateTimeWhen the required field list was last changed. Null if it has never been set.
updatedByUserInfoOutputDisplay label for the user who last changed the required field list. 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.

Used by 2 operations: updateRequiredMonitorFields (mutation), getRequiredMonitorFields (query).

RequiredTag

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

A tag key every monitor must carry, optionally limited to a set of values.

FieldTypeDescription
keyString!The tag key, matched case-sensitively.
allowedValues[String!]Values the key may take, matched case-sensitively. Every value of the key on a monitor must be in this list. Null means any value, including none.

Used by 2 operations: updateRequiredMonitorFields (mutation), getRequiredMonitorFields (query).

RuntimeVariableValueInput

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

FieldTypeDescription
nameString!
valueString!

Used by 3 operations: runMonitor (mutation), runSqlRule (mutation), triggerCircuitBreakerRuleV2 (mutation).

SegmentCountQueryInput

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

FieldTypeDescription
connectionIdUUIDConnection UUID to use for the query
dataSourceDataSourceUnionInputTarget data source
mconStringMcon of the target table
segmentedExpressions[String!]!Segmentation fields/expressions
timeAxisNameStringTime axis name
timeAxisTypeStringTime axis type
aggTimeIntervalMonitorAggTimeIntervalAggregation time interval to use. (defaults to HOUR)
lookbackDaysIntHistory days for the monitor
whereConditionStringWHERE condition to apply to the query
previewBooleanWhether query fetches a preview of segments instead of a total count Default: false.

Used by 2 operations: getSegmentCountQuery (query), runSegmentCountQuery (query).

SloPolicyInput

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

FieldTypeDescription
idUUIDIf provided, updates existing policy
sloTypeSloType!
thresholdMinutesInt!Threshold in minutes; must be greater than 0
isEnabledBoolean!
notifyOnBreachBoolean!
priorityFilter[String!]Default: [].
domainFilter[UUID!]Default: [].

Used by 2 operations: createOrUpdateSloPolicy (mutation), setSloPolicies (mutation).

SqlJobCheckpointStatus

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

ValueDescription
REGISTERED
EXECUTING_START
EXECUTING_COMPLETE
PROCESSING_START
PROCESSING_COMPLETE
HAS_ERROR

Used by 3 operations: getCircuitBreakerRuleState (query), getCircuitBreakerRuleStateV2 (query), getRunSqlRuleState (query).

SqlParsedTable

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

FieldTypeDescription
nameStringTable name parsed from query
mconStringMCON resolved to parsed table

Used by 2 operations: parseQuery (query), parseQueryForLogTypes (query).

TableMonitorAlertConditionInput

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

FieldTypeDescription
metricString!
operatorStringDefault: "AUTO".

Used by 2 operations: createOrUpdateTableMonitor (mutation), createOrUpdateTableMonitorV2 (mutation).

TableMonitorConfiguration

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

FieldTypeDescription
allRecordsBooleanWhether to use all records or a time axis
timeFieldStringThe field to use as the time axis
aggregationTypeStringHOUR or DAY
timeFieldTypeStringType of time axis field
lookbackDaysIntNumber of prior days to create buckets for
scheduleTypeStringEither Dynamic or Fixed
intervalMinutesIntNumber of minutes between each scheduled run
collectionLagHoursIntNumber of minutes between each scheduled run
startTimeDateTimeWhen to schedule the monitor to start (UTC)
lowCardinalitySuggestions[String]Suggested fields for segmentation or DT monitors
badCardinalityFields[String]Do not use fields for segmentation or DT monitors
statusMonitorConfigurationStatusStatus of configuration process
referenceMonitorUuidUUIDThe monitor the suggested time axis was copied from. None when the axis comes from the table schema instead — schedule and collection lag may still be copied from a monitor.

Used by 2 operations: getDefaultMonitorConfiguration (query), getTableMonitorConfiguration (query).

ThresholdLMHType

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

FieldTypeDescription
lowFloatLower threshold
mediumFloatMedium threshold
highFloatHigh threshold

Used by 3 operations: getFreshnessTableMonitor (query), getUcsTableMonitor (query), getVolumeChangeTableMonitor (query).

VariableDefinitionInput

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

FieldTypeDescription
nameStringDefault: "".
runtimeBooleanDefault: false.
values[String!]

Used by 3 operations: createCustomMetricRule (mutation), createOrUpdateCustomMetricRule (mutation), createOrUpdateCustomSqlRule (mutation).

Source: The GraphQL API reference

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