Related queries and mutations in Alerts and incidents. Each has its own section.
Queries
getPastSlackEngagementsForAlert (query)
getPastSlackEngagementsForAlert is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get past slack engagements for a specific alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | Filter by alert id |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
Example
query GetPastSlackEngagementsForAlert($alertId: UUID!) {
getPastSlackEngagementsForAlert(alertId: $alertId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
SlackEngagementConnection, UUID
getSchemaChanges (query)
getSchemaChanges is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get schema changes for a specific table
Arguments
Returns
SchemaChangeConnection
Example
query GetSchemaChanges($mcon: String!) {
getSchemaChanges(mcon: $mcon) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Types used only by getSchemaChanges
getSchemaChangesFieldTypeChange
FieldTypeChangeObject type.
| Field | Type | Description |
|---|---|---|
fieldName | String! | |
newFieldType | String! | |
oldFieldType | String! |
SchemaChange
SchemaChangeObject type.
| Field | Type | Description |
|---|---|---|
mcon | String! | |
startTime | DateTime! | |
fieldsAdded | [String!]! | |
fieldsRemoved | [String!]! | |
fieldTypeChanges | [FieldTypeChange!]! |
SchemaChangeConnection
SchemaChangeConnectionObject type.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [SchemaChangeEdge]! | Contains the nodes in this connection. |
SchemaChangeEdge
SchemaChangeEdgeObject type. A Relay edge containing a SchemaChange and its cursor.
| Field | Type | Description |
|---|---|---|
node | SchemaChange | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Related types
getSlackEngagementsForAlert (query)
getSlackEngagementsForAlert is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get slack engagements for alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | Filter by alert id |
eventTypes | [SlackEngagementEventType] | Filter by event_type (e.g. thread_reply, reaction_added) |
excludeBotEngagements | Boolean | Exclude bot engagements |
Returns
Example
query GetSlackEngagementsForAlert($alertId: UUID!) {
getSlackEngagementsForAlert(alertId: $alertId) {
id
uuid
eventType
eventTs
data
createdTime
updatedTime
isMerged
}
}Related types
SlackEngagement, SlackEngagementEventType, UUID
getSlackEngagementsForAlerts (query)
getSlackEngagementsForAlerts is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get slack engagements by filtering on the associated alert's properties
Arguments
| Argument | Type | Description |
|---|---|---|
eventTypes | [SlackEngagementEventType] | Filter by event_type (e.g. thread_reply, reaction_added) |
excludeBotEngagements | Boolean | Exclude bot engagements |
alertDomainId | UUID | Filter by domain UUID |
alertDwId | UUID | Filter by alerts from a specific warehouse |
alertFullTableIds | [String] | Filter by alerts associated with list of full table ids (e.g. project:dataset.table) |
alertRuleId | UUID | Filter by alerts associated with a custom rule UUID |
alertEndTime | DateTime | Filter by alerts older than this time |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
Example
query GetSlackEngagementsForAlerts {
getSlackEngagementsForAlerts {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
DateTime, SlackEngagementConnection, SlackEngagementEventType, UUID
getSlackEngagementsForIncident (query)
getSlackEngagementsForIncident is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use getSlackEngagementsForAlert instead
DEPRECATED. Get slack engagements for incident
Arguments
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | Filter by incident id |
eventTypes | [SlackEngagementEventType] | Filter by event_type (e.g. thread_reply, reaction_added) |
excludeBotEngagements | Boolean | Exclude bot engagements |
Returns
Example
query GetSlackEngagementsForIncident($incidentId: UUID!) {
getSlackEngagementsForIncident(incidentId: $incidentId) {
id
uuid
eventType
eventTs
data
createdTime
updatedTime
isMerged
}
}Related types
SlackEngagement, SlackEngagementEventType, UUID
getSlackEngagementsForIncidents (query)
getSlackEngagementsForIncidents is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use getSlackEngagementsForAlerts instead
DEPRECATED. Get slack engagements by filtering on the associated incident's properties
Arguments
| Argument | Type | Description |
|---|---|---|
eventTypes | [SlackEngagementEventType] | Filter by event_type (e.g. thread_reply, reaction_added) |
excludeBotEngagements | Boolean | Exclude bot engagements |
incidentDomainId | UUID | Filter by domain UUID |
incidentDwId | UUID | Filter by incidents from a specific warehouse |
incidentFullTableIds | [String] | Filter by incidents associated with list of full table ids (e.g. project:dataset.table) |
incidentRuleId | UUID | Filter by incidents associated with a custom rule UUID |
incidentEndTime | DateTime | Filter by incidents older than this time |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
Example
query GetSlackEngagementsForIncidents {
getSlackEngagementsForIncidents {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
DateTime, SlackEngagementConnection, SlackEngagementEventType, UUID
getSlackMessagesForAlert (query)
getSlackMessagesForAlert is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get slack messages for alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | Filter by alert id |
Returns
Example
query GetSlackMessagesForAlert($alertId: UUID!) {
getSlackMessagesForAlert(alertId: $alertId) {
id
permalink
msgTs
slackAppType
tsaAnalysisPostedThreadId
}
}Related types
getSlackMessagesForIncident (query)
getSlackMessagesForIncident is a query in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use getSlackMessagesForAlert instead
DEPRECATED. Get slack messages for incident
Arguments
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | Filter by incident id |
Returns
Example
query GetSlackMessagesForIncident($incidentId: UUID!) {
getSlackMessagesForIncident(incidentId: $incidentId) {
id
permalink
msgTs
slackAppType
tsaAnalysisPostedThreadId
}
}Related types
Mutations
bulkUpdateAlerts (mutation)
bulkUpdateAlerts is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Bulk update alerts
Arguments
| Argument | Type | Description |
|---|---|---|
newValues | BulkUpdateAlertsValues! | New values to apply to alerts supplied by uuids |
uuids | [UUID]! | UUIDs of alerts to update |
Returns
BulkUpdateAlerts
Example
mutation BulkUpdateAlerts($newValues: BulkUpdateAlertsValues!, $uuids: [UUID]!) {
bulkUpdateAlerts(newValues: $newValues, uuids: $uuids) {
success
}
}Types used only by bulkUpdateAlerts
bulkUpdateAlertsBulkUpdateAlerts
BulkUpdateAlertsObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
BulkUpdateAlertsValues
BulkUpdateAlertsValuesInput object type.
| Field | Type | Description |
|---|---|---|
owner | String | |
feedback | String |
Related types
bulkUpdateIncidents (mutation)
bulkUpdateIncidents is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use bulkUpdateAlerts instead
DEPRECATED. Bulk update incidents
Arguments
| Argument | Type | Description |
|---|---|---|
newValues | BulkUpdateIncidentsValues! | New values to apply to incidents supplied by uuids |
uuids | [UUID]! | UUIDs of incidents to update |
Returns
BulkUpdateIncidents
Example
mutation BulkUpdateIncidents($newValues: BulkUpdateIncidentsValues!, $uuids: [UUID]!) {
bulkUpdateIncidents(newValues: $newValues, uuids: $uuids) {
success
}
}Types used only by bulkUpdateIncidents
bulkUpdateIncidentsBulkUpdateIncidents
BulkUpdateIncidentsObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
BulkUpdateIncidentsValues
BulkUpdateIncidentsValuesInput object type.
| Field | Type | Description |
|---|---|---|
owner | String | |
feedback | String |
Related types
createOrUpdateAlertComment (mutation)
createOrUpdateAlertComment is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Creates or updates a comment on an alert
Arguments
Returns
CreateOrUpdateAlertComment
Example
mutation CreateOrUpdateAlertComment($alertId: UUID!, $comment: String!) {
createOrUpdateAlertComment(alertId: $alertId, comment: $comment) {
commentEvent {
id
eventType
accountUuid
createdTime
data
ackTimestamp
eventState
notifiedUsers
totalComments
importanceScore
isImportant
isChild
uuid
monitorId
parentMonitorId
customRuleEntities
customRuleProjects
customRuleDatasets
eventGeneratedTime
hasLiveFreshness
}
}
}Types used only by createOrUpdateAlertComment
createOrUpdateAlertCommentCreateOrUpdateAlertComment
CreateOrUpdateAlertCommentObject type.
| Field | Type | Description |
|---|---|---|
commentEvent | Event | The alert comment event. |
Related types
createOrUpdateIncidentComment (mutation)
createOrUpdateIncidentComment is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use createOrUpdateAlertComment instead
DEPRECATED. Creates or updates a comment on an incident
Arguments
Returns
CreateOrUpdateIncidentComment
Example
mutation CreateOrUpdateIncidentComment($comment: String!, $incidentId: UUID!) {
createOrUpdateIncidentComment(comment: $comment, incidentId: $incidentId) {
commentEvent {
id
eventType
accountUuid
createdTime
data
ackTimestamp
eventState
notifiedUsers
totalComments
importanceScore
isImportant
isChild
uuid
monitorId
parentMonitorId
customRuleEntities
customRuleProjects
customRuleDatasets
eventGeneratedTime
hasLiveFreshness
}
}
}Types used only by createOrUpdateIncidentComment
createOrUpdateIncidentCommentCreateOrUpdateIncidentComment
CreateOrUpdateIncidentCommentObject type.
| Field | Type | Description |
|---|---|---|
commentEvent | Event | The incident comment event. |
Related types
deleteAlertComment (mutation)
deleteAlertComment is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Deletes an alert's comment
Arguments
| Argument | Type | Description |
|---|---|---|
commentId | UUID! | UUID of the comment for update |
Returns
DeleteAlertComment
Example
mutation DeleteAlertComment($commentId: UUID!) {
deleteAlertComment(commentId: $commentId) {
success
}
}Types used only by deleteAlertComment
deleteAlertCommentDeleteAlertComment
DeleteAlertCommentObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
deleteIncidentComment (mutation)
deleteIncidentComment is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use deleteAlertComment instead
Deletes an incident's comment
Arguments
| Argument | Type | Description |
|---|---|---|
commentId | UUID! | UUID of the comment for update |
Returns
DeleteIncidentComment
Example
mutation DeleteIncidentComment($commentId: UUID!) {
deleteIncidentComment(commentId: $commentId) {
success
}
}Types used only by deleteIncidentComment
deleteIncidentCommentDeleteIncidentComment
DeleteIncidentCommentObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
sendAlertInvite (mutation)
sendAlertInvite is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Send an invitation to a non-user for an alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | The alert's UUID |
email | String! | Invitee's email |
Returns
SendAlertInvite
Example
mutation SendAlertInvite($alertId: UUID!, $email: String!) {
sendAlertInvite(alertId: $alertId, email: $email) {
success
}
}Types used only by sendAlertInvite
sendAlertInviteSendAlertInvite
SendAlertInviteObject type. Send an invitation to a non-user for an existing alert
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
setAlertOwner (mutation)
setAlertOwner is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set the owner for an alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | The alert's UUID |
owner | String | Alert owner's email to set |
Returns
SetAlertOwner
Example
mutation SetAlertOwner($alertId: UUID!) {
setAlertOwner(alertId: $alertId) {
alert {
id
title
type
subTypes
severity
priority
triagePriority
triageState
tsaAnalysisThreadId
hasTsaInvestigation
status
monitorUuids
fromAgentMonitor
invalidRows
inTeammateDomain
commentCount
lastCommentText
createdTime
updatedTime
sloStatus
}
}
}Types used only by setAlertOwner
setAlertOwnerSetAlertOwner
SetAlertOwnerObject type. Set an owner for an existing alert
| Field | Type | Description |
|---|---|---|
alert | Alert | The updated alert |
Related types
setAlertSeverity (mutation)
setAlertSeverity is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set severity for an alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | The alert/incident's UUID |
severity | SeverityInput | Severity to set. If omitted, severity is cleared (i.e. incident is demoted to alert) |
Returns
SetAlertSeverity
Example
mutation SetAlertSeverity($alertId: UUID!) {
setAlertSeverity(alertId: $alertId) {
alert {
id
title
type
subTypes
severity
priority
triagePriority
triageState
tsaAnalysisThreadId
hasTsaInvestigation
status
monitorUuids
fromAgentMonitor
invalidRows
inTeammateDomain
commentCount
lastCommentText
createdTime
updatedTime
sloStatus
}
}
}Types used only by setAlertSeverity
setAlertSeveritySetAlertSeverity
SetAlertSeverityObject type. By setting severity for an alert, the alert is declared an incident
| Field | Type | Description |
|---|---|---|
alert | Alert | The updated alert/incident |
Related types
setEventDetectorFeedback (mutation)
setEventDetectorFeedback is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set event feedback for detector
Arguments
| Argument | Type | Description |
|---|---|---|
eventId | UUID! | |
field | String | |
isFalsePositive | Boolean! | |
metric | String | |
whereCondition | String |
Returns
SetEventDetectorFeedback
Example
mutation SetEventDetectorFeedback($eventId: UUID!, $isFalsePositive: Boolean!) {
setEventDetectorFeedback(eventId: $eventId, isFalsePositive: $isFalsePositive) {
feedback {
id
createdTime
updatedTime
isFalsePositive
reason
metric
field
whereCondition
timeSeriesUuid
}
}
}Types used only by setEventDetectorFeedback
setEventDetectorFeedbackSetEventDetectorFeedback
SetEventDetectorFeedbackObject type.
| Field | Type | Description |
|---|---|---|
feedback | EventDetectorFeedback | Feedback for the detector about the event |
Related types
setEventDetectorFeedbackByAlert (mutation)
setEventDetectorFeedbackByAlert is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set feedback for detector on all events in the alert
Arguments
| Argument | Type | Description |
|---|---|---|
alertId | UUID! | |
isFalsePositive | Boolean! |
Returns
SetEventDetectorFeedbackByAlert
Example
mutation SetEventDetectorFeedbackByAlert($alertId: UUID!, $isFalsePositive: Boolean!) {
setEventDetectorFeedbackByAlert(alertId: $alertId, isFalsePositive: $isFalsePositive) {
completed
}
}Types used only by setEventDetectorFeedbackByAlert
setEventDetectorFeedbackByAlertSetEventDetectorFeedbackByAlert
SetEventDetectorFeedbackByAlertObject type.
| Field | Type | Description |
|---|---|---|
completed | Boolean |
Related types
setIncidentFeedback (mutation)
setIncidentFeedback is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use updateAlert instead
Provide feedback for an incident
Arguments
| Argument | Type | Description |
|---|---|---|
input | SetIncidentFeedbackInput! |
Returns
SetIncidentFeedbackPayload
Example
mutation SetIncidentFeedback($input: SetIncidentFeedbackInput!) {
setIncidentFeedback(input: $input) {
clientMutationId
}
}Types used only by setIncidentFeedback
setIncidentFeedbackSetIncidentFeedbackInput
SetIncidentFeedbackInputInput object type.
| Field | Type | Description |
|---|---|---|
incidentId | UUID! | UUID of incident to add feedback |
feedback | String! | The feedback to be added to an incident |
clientMutationId | String |
SetIncidentFeedbackPayload
SetIncidentFeedbackPayloadObject type. Provide feedback for an incident
| Field | Type | Description |
|---|---|---|
incident | Incident | Incident details, for which feedback was given |
clientMutationId | String |
Related types
setIncidentFeedbackV2 (mutation)
setIncidentFeedbackV2 is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use updateAlert instead
Provide feedback for an incident
Arguments
| Argument | Type | Description |
|---|---|---|
input | SetIncidentFeedbackV2Input! |
Returns
SetIncidentFeedbackV2Payload
Example
mutation SetIncidentFeedbackV2($input: SetIncidentFeedbackV2Input!) {
setIncidentFeedbackV2(input: $input) {
clientMutationId
}
}Types used only by setIncidentFeedbackV2
setIncidentFeedbackV2IncidentFeedback
IncidentFeedbackEnum type.
| Value | Description |
|---|---|
no_status | |
fixed | |
expected | |
investigating | |
false_positive | |
no_action_needed | |
work_in_progress |
SetIncidentFeedbackV2Input
SetIncidentFeedbackV2InputInput object type.
| Field | Type | Description |
|---|---|---|
incidentId | UUID! | UUID of incident to add feedback |
feedback | IncidentFeedback! | The feedback to be added to an incident |
clientMutationId | String |
SetIncidentFeedbackV2Payload
SetIncidentFeedbackV2PayloadObject type. Provide feedback for an incident
| Field | Type | Description |
|---|---|---|
incident | Incident | Incident details, for which feedback was given |
clientMutationId | String |
Related types
setIncidentOwner (mutation)
setIncidentOwner is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use setAlertOwner instead
DEPRECATED. Set owner for an incident
Arguments
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | The incident's UUID |
owner | String | Incident owner to set |
Returns
SetIncidentOwner
Example
mutation SetIncidentOwner($incidentId: UUID!) {
setIncidentOwner(incidentId: $incidentId) {
incident {
id
uuid
createdTime
updatedTime
owner
severity
priority
systemSetSeverity
feedback
feedbackTime
lastUpdateUser
project
dataset
schema
incidentType
incidentSubTypes
incidentTime
lockIncident
canRollUp
name
}
}
}Types used only by setIncidentOwner
setIncidentOwnerSetIncidentOwner
SetIncidentOwnerObject type. Set an owner for an existing incident
| Field | Type | Description |
|---|---|---|
incident | Incident | The updated incident |
Related types
setIncidentSeverity (mutation)
setIncidentSeverity is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use setAlertSeverity instead
DEPRECATED. Set severity for an incident
Arguments
| Argument | Type | Description |
|---|---|---|
incidentId | UUID! | The incident's UUID |
severity | String | Incident severity to set. Options are: SEV-1, SEV-2, SEV-3, SEV-4. If this field is omitted or its value is set to null then severity value is cleared |
Returns
SetIncidentSeverity
Example
mutation SetIncidentSeverity($incidentId: UUID!) {
setIncidentSeverity(incidentId: $incidentId) {
incident {
id
uuid
createdTime
updatedTime
owner
severity
priority
systemSetSeverity
feedback
feedbackTime
lastUpdateUser
project
dataset
schema
incidentType
incidentSubTypes
incidentTime
lockIncident
canRollUp
name
}
}
}Types used only by setIncidentSeverity
setIncidentSeveritySetIncidentSeverity
SetIncidentSeverityObject type. Set severity for an existing incident
| Field | Type | Description |
|---|---|---|
incident | Incident | The updated incident |
Related types
splitAlert (mutation)
splitAlert is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Splits event/s from alert into a new alert
Arguments
Returns
SplitAlert
Example
mutation SplitAlert($alertUuid: UUID!, $eventUuids: [UUID]!) {
splitAlert(alertUuid: $alertUuid, eventUuids: $eventUuids) {
alertUuid
}
}Types used only by splitAlert
splitAlertSplitAlert
SplitAlertObject type.
| Field | Type | Description |
|---|---|---|
alertUuid | UUID |
Related types
splitIncident (mutation)
splitIncident is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use splitAlert instead
DEPRECATED. Splits event/s from incident into a new incident
Arguments
Returns
SplitIncident
Example
mutation SplitIncident($eventUuids: [UUID]!, $incidentUuid: UUID!) {
splitIncident(eventUuids: $eventUuids, incidentUuid: $incidentUuid) {
incidentUuid
}
}Types used only by splitIncident
splitIncidentSplitIncident
SplitIncidentObject type.
| Field | Type | Description |
|---|---|---|
incidentUuid | UUID |
Related types
updateAlert (mutation)
updateAlert is a mutation in the Monte Carlo GraphQL API, in Alerts and incidents. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Only supplied fields will be updated for the alert
Arguments
| Argument | Type | Description |
|---|---|---|
declaredIncidentSeverity | SeverityInput | By assigning a severity to the alert, the alert will be declared an incident |
feedback | String | DEPRECATED: Use status instead. Options: helpful, not helpful, fixed, expected, investigating, false_positive, no_action_needed, work_in_progress, anomaly_normalized. Clear the value by setting it to empty string. |
name | String | Custom name for the alert. Clear the value by setting it to empty string.) |
severity | String | DEPRECATED: Use declaredIncidentSeverity instead. Options: {', '.join(DeclaredIncidentModel.Severity.values)} or (SEV_1, SEV_2, SEV_3, SEV_4). Clear the value by setting it to empty string. |
status | AlertStatusInput | Status to assign to the alert. |
uuid | UUID! | UUID of the alert to update |
Returns
UpdateAlert
Example
mutation UpdateAlert($uuid: UUID!) {
updateAlert(uuid: $uuid) {
alert {
id
title
type
subTypes
severity
priority
triagePriority
triageState
tsaAnalysisThreadId
hasTsaInvestigation
status
monitorUuids
fromAgentMonitor
invalidRows
inTeammateDomain
commentCount
lastCommentText
createdTime
updatedTime
sloStatus
}
}
}Types used only by updateAlert
updateAlertUpdateAlert
UpdateAlertObject type.
| Field | Type | Description |
|---|---|---|
alert | Alert | The updated alert |
Related types
Alert, AlertStatusInput, SeverityInput, UUID
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
