Incidents and alert updates, part 2 of 2 (GraphQL)

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

ArgumentTypeDescription
alertIdUUID!Filter by alert id
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

SlackEngagementConnection

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

ArgumentTypeDescription
mconString!Get changes for the given MCON
startTimeDateTimeFilter by the start time
endTimeDateTimeFilter by the end time
beforeString
afterString
firstInt
lastInt

Returns

SchemaChangeConnection

Example

query GetSchemaChanges($mcon: String!) {
  getSchemaChanges(mcon: $mcon) {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Types used only by getSchemaChanges

FieldTypeChange

Object type.

FieldTypeDescription
fieldNameString!
newFieldTypeString!
oldFieldTypeString!
SchemaChange

Object type.

FieldTypeDescription
mconString!
startTimeDateTime!
fieldsAdded[String!]!
fieldsRemoved[String!]!
fieldTypeChanges[FieldTypeChange!]!
SchemaChangeConnection

Object type.

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

Object type. A Relay edge containing a SchemaChange and its cursor.

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

Related types

DateTime, PageInfo

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

ArgumentTypeDescription
alertIdUUID!Filter by alert id
eventTypes[SlackEngagementEventType]Filter by event_type (e.g. thread_reply, reaction_added)
excludeBotEngagementsBooleanExclude bot engagements

Returns

[SlackEngagement]

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

ArgumentTypeDescription
eventTypes[SlackEngagementEventType]Filter by event_type (e.g. thread_reply, reaction_added)
excludeBotEngagementsBooleanExclude bot engagements
alertDomainIdUUIDFilter by domain UUID
alertDwIdUUIDFilter by alerts from a specific warehouse
alertFullTableIds[String]Filter by alerts associated with list of full table ids (e.g. project:dataset.table)
alertRuleIdUUIDFilter by alerts associated with a custom rule UUID
alertEndTimeDateTimeFilter by alerts older than this time
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

SlackEngagementConnection

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

ArgumentTypeDescription
incidentIdUUID!Filter by incident id
eventTypes[SlackEngagementEventType]Filter by event_type (e.g. thread_reply, reaction_added)
excludeBotEngagementsBooleanExclude bot engagements

Returns

[SlackEngagement]

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

ArgumentTypeDescription
eventTypes[SlackEngagementEventType]Filter by event_type (e.g. thread_reply, reaction_added)
excludeBotEngagementsBooleanExclude bot engagements
incidentDomainIdUUIDFilter by domain UUID
incidentDwIdUUIDFilter by incidents from a specific warehouse
incidentFullTableIds[String]Filter by incidents associated with list of full table ids (e.g. project:dataset.table)
incidentRuleIdUUIDFilter by incidents associated with a custom rule UUID
incidentEndTimeDateTimeFilter by incidents older than this time
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

SlackEngagementConnection

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

ArgumentTypeDescription
alertIdUUID!Filter by alert id

Returns

[SlackMessageDetails]

Example

query GetSlackMessagesForAlert($alertId: UUID!) {
  getSlackMessagesForAlert(alertId: $alertId) {
    id
    permalink
    msgTs
    slackAppType
    tsaAnalysisPostedThreadId
  }
}

Related types

SlackMessageDetails, UUID

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

ArgumentTypeDescription
incidentIdUUID!Filter by incident id

Returns

[SlackMessageDetails]

Example

query GetSlackMessagesForIncident($incidentId: UUID!) {
  getSlackMessagesForIncident(incidentId: $incidentId) {
    id
    permalink
    msgTs
    slackAppType
    tsaAnalysisPostedThreadId
  }
}

Related types

SlackMessageDetails, UUID

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

ArgumentTypeDescription
newValuesBulkUpdateAlertsValues!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

BulkUpdateAlerts

Object type.

FieldTypeDescription
successBoolean
BulkUpdateAlertsValues

Input object type.

FieldTypeDescription
ownerString
feedbackString

Related types

UUID

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

ArgumentTypeDescription
newValuesBulkUpdateIncidentsValues!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

BulkUpdateIncidents

Object type.

FieldTypeDescription
successBoolean
BulkUpdateIncidentsValues

Input object type.

FieldTypeDescription
ownerString
feedbackString

Related types

UUID

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

ArgumentTypeDescription
alertIdUUID!The alert's UUID
commentString!Content of the comment
commentIdUUIDUUID of the comment. If set, this call is for updating the comment

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

CreateOrUpdateAlertComment

Object type.

FieldTypeDescription
commentEventEventThe alert comment event.

Related types

Event, UUID

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

ArgumentTypeDescription
commentString!Content of the comment
commentIdUUIDUUID of the comment. If set, this call is for updating the comment
incidentIdUUID!The incident's UUID

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

CreateOrUpdateIncidentComment

Object type.

FieldTypeDescription
commentEventEventThe incident comment event.

Related types

Event, UUID

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

ArgumentTypeDescription
commentIdUUID!UUID of the comment for update

Returns

DeleteAlertComment

Example

mutation DeleteAlertComment($commentId: UUID!) {
  deleteAlertComment(commentId: $commentId) {
    success
  }
}

Types used only by deleteAlertComment

DeleteAlertComment

Object type.

FieldTypeDescription
successBoolean

Related types

UUID

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

ArgumentTypeDescription
commentIdUUID!UUID of the comment for update

Returns

DeleteIncidentComment

Example

mutation DeleteIncidentComment($commentId: UUID!) {
  deleteIncidentComment(commentId: $commentId) {
    success
  }
}

Types used only by deleteIncidentComment

DeleteIncidentComment

Object type.

FieldTypeDescription
successBoolean

Related types

UUID

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

ArgumentTypeDescription
alertIdUUID!The alert's UUID
emailString!Invitee's email

Returns

SendAlertInvite

Example

mutation SendAlertInvite($alertId: UUID!, $email: String!) {
  sendAlertInvite(alertId: $alertId, email: $email) {
    success
  }
}

Types used only by sendAlertInvite

SendAlertInvite

Object type. Send an invitation to a non-user for an existing alert

FieldTypeDescription
successBoolean

Related types

UUID

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

ArgumentTypeDescription
alertIdUUID!The alert's UUID
ownerStringAlert 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

SetAlertOwner

Object type. Set an owner for an existing alert

FieldTypeDescription
alertAlertThe updated alert

Related types

Alert, UUID

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

ArgumentTypeDescription
alertIdUUID!The alert/incident's UUID
severitySeverityInputSeverity 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

SetAlertSeverity

Object type. By setting severity for an alert, the alert is declared an incident

FieldTypeDescription
alertAlertThe updated alert/incident

Related types

Alert, SeverityInput, UUID

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

ArgumentTypeDescription
eventIdUUID!
fieldString
isFalsePositiveBoolean!
metricString
whereConditionString

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

SetEventDetectorFeedback

Object type.

FieldTypeDescription
feedbackEventDetectorFeedbackFeedback for the detector about the event

Related types

EventDetectorFeedback, UUID

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

ArgumentTypeDescription
alertIdUUID!
isFalsePositiveBoolean!

Returns

SetEventDetectorFeedbackByAlert

Example

mutation SetEventDetectorFeedbackByAlert($alertId: UUID!, $isFalsePositive: Boolean!) {
  setEventDetectorFeedbackByAlert(alertId: $alertId, isFalsePositive: $isFalsePositive) {
    completed
  }
}

Types used only by setEventDetectorFeedbackByAlert

SetEventDetectorFeedbackByAlert

Object type.

FieldTypeDescription
completedBoolean

Related types

UUID

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

ArgumentTypeDescription
inputSetIncidentFeedbackInput!

Returns

SetIncidentFeedbackPayload

Example

mutation SetIncidentFeedback($input: SetIncidentFeedbackInput!) {
  setIncidentFeedback(input: $input) {
    clientMutationId
  }
}

Types used only by setIncidentFeedback

SetIncidentFeedbackInput

Input object type.

FieldTypeDescription
incidentIdUUID!UUID of incident to add feedback
feedbackString!The feedback to be added to an incident
clientMutationIdString
SetIncidentFeedbackPayload

Object type. Provide feedback for an incident

FieldTypeDescription
incidentIncidentIncident details, for which feedback was given
clientMutationIdString

Related types

Incident, UUID

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

ArgumentTypeDescription
inputSetIncidentFeedbackV2Input!

Returns

SetIncidentFeedbackV2Payload

Example

mutation SetIncidentFeedbackV2($input: SetIncidentFeedbackV2Input!) {
  setIncidentFeedbackV2(input: $input) {
    clientMutationId
  }
}

Types used only by setIncidentFeedbackV2

IncidentFeedback

Enum type.

ValueDescription
no_status
fixed
expected
investigating
false_positive
no_action_needed
work_in_progress
SetIncidentFeedbackV2Input

Input object type.

FieldTypeDescription
incidentIdUUID!UUID of incident to add feedback
feedbackIncidentFeedback!The feedback to be added to an incident
clientMutationIdString
SetIncidentFeedbackV2Payload

Object type. Provide feedback for an incident

FieldTypeDescription
incidentIncidentIncident details, for which feedback was given
clientMutationIdString

Related types

Incident, UUID

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

ArgumentTypeDescription
incidentIdUUID!The incident's UUID
ownerStringIncident 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

SetIncidentOwner

Object type. Set an owner for an existing incident

FieldTypeDescription
incidentIncidentThe updated incident

Related types

Incident, UUID

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

ArgumentTypeDescription
incidentIdUUID!The incident's UUID
severityStringIncident 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

SetIncidentSeverity

Object type. Set severity for an existing incident

FieldTypeDescription
incidentIncidentThe updated incident

Related types

Incident, UUID

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

ArgumentTypeDescription
alertUuidUUID!Alert unique identifier
eventUuids[UUID]!unique identifier of event/s to split to new alert
sendNotificationBooleanWhether to send a notification for the new alert Default: false.

Returns

SplitAlert

Example

mutation SplitAlert($alertUuid: UUID!, $eventUuids: [UUID]!) {
  splitAlert(alertUuid: $alertUuid, eventUuids: $eventUuids) {
    alertUuid
  }
}

Types used only by splitAlert

SplitAlert

Object type.

FieldTypeDescription
alertUuidUUID

Related types

UUID

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

ArgumentTypeDescription
eventUuids[UUID]!unique identifier of event/s to split to new incident
incidentUuidUUID!Incident unique identifier
sendNotificationBooleanWhether to send a notification for the new incident Default: false.

Returns

SplitIncident

Example

mutation SplitIncident($eventUuids: [UUID]!, $incidentUuid: UUID!) {
  splitIncident(eventUuids: $eventUuids, incidentUuid: $incidentUuid) {
    incidentUuid
  }
}

Types used only by splitIncident

SplitIncident

Object type.

FieldTypeDescription
incidentUuidUUID

Related types

UUID

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

ArgumentTypeDescription
declaredIncidentSeveritySeverityInputBy assigning a severity to the alert, the alert will be declared an incident
feedbackStringDEPRECATED: 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.
nameStringCustom name for the alert. Clear the value by setting it to empty string.)
severityStringDEPRECATED: 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.
statusAlertStatusInputStatus to assign to the alert.
uuidUUID!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

UpdateAlert

Object type.

FieldTypeDescription
alertAlertThe 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.