Blast radius (GraphQL)

Related queries and mutations in Catalog and lineage. Each has its own section.

Queries

getAlertWarehouseTables (query)

getAlertWarehouseTables is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

The Warehouse Tables associated with an alert

Arguments

ArgumentTypeDescription
alertIdUUID!The alert UUID

Returns

[WarehouseTable]

Example

query GetAlertWarehouseTables($alertId: UUID!) {
  getAlertWarehouseTables(alertId: $alertId) {
    id
    tableId
    fullTableId
    discoveredTime
    friendlyName
    location
    projectName
    dataset
    originalTableId
    originalProjectName
    originalDataset
    description
    tableType
    isEncrypted
    createdTime
    lastModified
    viewQuery
    viewIsMaterialized
    labels
    path
  }
}

Related types

UUID, WarehouseTable

getBlastRadiusDirectUsersV2 (query)

getBlastRadiusDirectUsersV2 is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

User information for direct blast radius of an incident

Arguments

ArgumentTypeDescription
incidentIdUUIDThe incident UUID. Deprecated, use alertId instead
alertIdUUIDThe alert UUID
lookbackLookbackRange!The lookback period for the blast radius [ONE_HOUR, TWELVE_HOUR, ONE_DAY, SEVEN_DAY]
afterKeyStringThe key for pagination
sizeIntThe max number of results to fetch Default: 20.

Returns

PaginateUsersBlastRadius2

Example

query GetBlastRadiusDirectUsersV2($lookback: LookbackRange!) {
  getBlastRadiusDirectUsersV2(lookback: $lookback) {
    afterKey
    totalCount
  }
}

Types used only by getBlastRadiusDirectUsersV2

LookbackRange

Enum type.

ValueDescription
ONE_HOUR
TWELVE_HOUR
ONE_DAY
SEVEN_DAY
PaginateUsersBlastRadius2

Object type.

FieldTypeDescription
afterKeyStringThe after key to use for pagination
data[UserBlastRadius2]The user blast radius data
totalCountIntThe total number of users
UserBlastRadius2

Object type.

FieldTypeDescription
usernameString!The username who performed the query
queryCountInt!The number of queries performed by user in the timeframe
tables[UserTableBlastRadius]The table information for the user
UserTableBlastRadius

Object type.

FieldTypeDescription
fullTableIdString!The incident table that was queried
queryCountInt!The number of queries performed by user in the timeframe
mconString!The table mcon

Related types

UUID

getIncidentTables (query)

getIncidentTables is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use getAlerts instead

DEPRECATED. The MCONS directly impacted by the incident

Arguments

ArgumentTypeDescription
incidentIdUUID!The incident UUID

Returns

IncidentTableMcons

Example

query GetIncidentTables($incidentId: UUID!) {
  getIncidentTables(incidentId: $incidentId) {
    tables
  }
}

Types used only by getIncidentTables

IncidentTableMcons

Object type.

FieldTypeDescription
tables[String]The list of table mcons directly impacted by incident

Related types

UUID

getIncidentWarehouseTables (query)

getIncidentWarehouseTables is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use getAlertWarehouseTables instead

DEPRECATED. The Warehouse Tables associated with an incident

Arguments

ArgumentTypeDescription
incidentIdUUID!The incident UUID

Returns

[WarehouseTable]

Example

query GetIncidentWarehouseTables($incidentId: UUID!) {
  getIncidentWarehouseTables(incidentId: $incidentId) {
    id
    tableId
    fullTableId
    discoveredTime
    friendlyName
    location
    projectName
    dataset
    originalTableId
    originalProjectName
    originalDataset
    description
    tableType
    isEncrypted
    createdTime
    lastModified
    viewQuery
    viewIsMaterialized
    labels
    path
  }
}

Related types

UUID, WarehouseTable

Source: The GraphQL API reference

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