Queries
alertData
BETA FEATURE: This query is in beta and will change without warning. Retrieve the change data that triggered the alert.
query AlertData($alert: AlertId!) {
alertData(alert: $alert) {
monitoredEntityId
monitoredEntity {
... on Company {
id
name
}
... on PrivatePerson {
id
name
}
}
kind
computedAt
change {
... on CompanyPepChange {
pepChanges {
person {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
relationsToMonitoredEntity
toValue {
pep
rca
confirmedPepStatus
confirmedRcaStatus
hits {
name
aliases
dateOfBirth {
dayOfMonth
month
year
}
countries {
code
name
}
pep
roles {
description
details
startDate
endDate
}
rca
relations {
description
name
birthDate
roles {
description
details
startDate
endDate
}
externalUrls
}
custom
externalUrls
confirmedMatch
}
}
fromValue {
pep
rca
confirmedPepStatus
confirmedRcaStatus
hits {
name
aliases
dateOfBirth {
dayOfMonth
month
year
}
countries {
code
name
}
pep
roles {
description
details
startDate
endDate
}
rca
relations {
description
name
birthDate
roles {
description
details
startDate
endDate
}
externalUrls
}
custom
externalUrls
confirmedMatch
}
}
}
kind
}
... on CompanyRelationsChange {
roleChange {
toValue {
roleTitle
period {
from
to
}
isActive
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
fromValue {
roleTitle
period {
from
to
}
isActive
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
}
beneficialOwnerChange {
toValue {
reasons
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
}
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
fromValue {
reasons
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
}
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
}
ownershipChange {
toValue {
shareClasses {
shareClass
sharePercentage {
from
to
}
}
totalSharePercentage {
from
to
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
}
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
fromValue {
shareClasses {
shareClass
sharePercentage {
from
to
}
}
totalSharePercentage {
from
to
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
}
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
}
}
kind
}
... on CompanySanctionChange {
sanctionChanges {
entity {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
}
relationsToMonitoredEntity
toValue {
sanctioned
sanctions {
sanctionedBy
sourceReference
sanctionedSince
program
sourceUrl
confirmedMatch
}
}
fromValue {
sanctioned
sanctions {
sanctionedBy
sourceReference
sanctionedSince
program
sourceUrl
confirmedMatch
}
}
}
kind
}
}
}
}Arguments
alert AlertId! non-null scalar
Type
MonitoringChange object
MonitoringChange
The data change that triggered an alert.
Response Fields
monitoredEntityId ID! non-null scalar
ID!
The ID of the monitored entity. Always present even if the entity itself has been deleted.
monitoredEntity MonitoredEntityLike interface
kind DatasetKind! non-null enum
DatasetKind!
The type of change. Determines which 'xChanges' fields are populated with data.
computedAt DateTime! non-null scalar
DateTime!
The time at which the change was seen (when the difference was computed).
change ChangeLike! non-null interface
ChangeLike!
The change data, whose structure is defined by 'kind'.