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
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | The alert UUID |
Returns
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
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
| Argument | Type | Description |
|---|---|---|
incidentId | UUID | The incident UUID. Deprecated, use alertId instead |
alertId | UUID | The alert UUID |
lookback | LookbackRange! | The lookback period for the blast radius [ONE_HOUR, TWELVE_HOUR, ONE_DAY, SEVEN_DAY] |
afterKey | String | The key for pagination |
size | Int | The 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
getBlastRadiusDirectUsersV2LookbackRange
LookbackRangeEnum type.
| Value | Description |
|---|---|
ONE_HOUR | |
TWELVE_HOUR | |
ONE_DAY | |
SEVEN_DAY |
PaginateUsersBlastRadius2
PaginateUsersBlastRadius2Object type.
| Field | Type | Description |
|---|---|---|
afterKey | String | The after key to use for pagination |
data | [UserBlastRadius2] | The user blast radius data |
totalCount | Int | The total number of users |
UserBlastRadius2
UserBlastRadius2Object type.
| Field | Type | Description |
|---|---|---|
username | String! | The username who performed the query |
queryCount | Int! | The number of queries performed by user in the timeframe |
tables | [UserTableBlastRadius] | The table information for the user |
UserTableBlastRadius
UserTableBlastRadiusObject type.
| Field | Type | Description |
|---|---|---|
fullTableId | String! | The incident table that was queried |
queryCount | Int! | The number of queries performed by user in the timeframe |
mcon | String! | The table mcon |
Related types
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
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | The incident UUID |
Returns
IncidentTableMcons
Example
query GetIncidentTables($incidentId: UUID!) {
getIncidentTables(incidentId: $incidentId) {
tables
}
}Types used only by getIncidentTables
getIncidentTablesIncidentTableMcons
IncidentTableMconsObject type.
| Field | Type | Description |
|---|---|---|
tables | [String] | The list of table mcons directly impacted by incident |
Related types
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
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | The incident UUID |
Returns
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
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
