Skip to content

Flag.evaluated

Emitted each time a Flag is evaluated.

Flag.evaluate emits Flag.evaluated when it completes on a Flag.

PropertyValue
Emitted byFlag.evaluate
NounFlag
WakesNone.

Payload

Each delivery is an Event record. data holds what Flag.evaluate returns.

FieldTypeRequiredDescription
namestringrequiredFlag.evaluated.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.variantVariantrequiredThe Variant assigned to the unit.
data.exposureExposureThe Exposure recorded; none in Mode try.

Example

JSON
{
  "$id": "https://api.sb/quietcopy.com/events/event_1",
  "$type": "Event",
  "name": "Flag.evaluated",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "variant": {
      "$id": "https://api.sb/quietcopy.com/variants/variant_1",
      "$type": "Variant",
      "key": "Example key",
      "value": {}
    },
    "exposure": {
      "$id": "https://api.sb/quietcopy.com/exposures/exposure_1",
      "$type": "Exposure",
      "unit": "Example unit",
      "options": {},
      "propensity": 1,
      "at": "2026-10-22T12:00:00Z"
    }
  },
  "seq": 1
}