Skip to main content

MyAlertUnreadCount

The caller's own unread alert state in one organization. The bell badge counts unseen events: delivered, not read, and delivered after both markers (an event queued for a digest counts from when the digest delivered it).

type MyAlertUnreadCount {
count: Int!
capped: Boolean!
hasCritical: Boolean!
readThroughAt: Time
seenThroughAt: Time
}

Fields​

MyAlertUnreadCount.count ● Int! non-null scalar​

Unseen events, at most 99.

MyAlertUnreadCount.capped ● Boolean! non-null scalar​

More than 99 events are unseen (the badge shows 99+).

MyAlertUnreadCount.hasCritical ● Boolean! non-null scalar​

At least one unseen event is critical.

MyAlertUnreadCount.readThroughAt ● Time scalar​

Events delivered at or before this instant are read for the caller.

MyAlertUnreadCount.seenThroughAt ● Time scalar​

Events delivered at or before this instant were seen by the caller.

Returned By​

markMyAlertsRead mutation ● markMyAlertsSeen mutation ● myUnreadAlertCount query