AckdbObserveEventCondition

A condition on the entity's event timeline. `eventType` is source-prefixed and whitelisted against the catalog. `withinDays` bounds the lookback; `count` is used by count_gte/count_lte.

Properties

typestringrequired
"event"
eventTypestringrequired
sourcestring
predicatestringrequired
"exists""not_exists""count_gte""count_lte"
countintegermin 0
withinDaysintegermin 1

Example

AckdbObserveEventCondition example
{
  "type": "event",
  "eventType": "stripe.invoice.paid",
  "source": "stripe",
  "predicate": "exists",
  "count": 3,
  "withinDays": 30
}