Skip to content

Mandate.authorized

Emitted each time a Mandate is authorized.

Mandate.authorize emits Mandate.authorized when it completes on a Mandate.

PropertyValue
Emitted byMandate.authorize
NounMandate
WakesNone.

Payload

Each delivery is an Event record. data holds what Mandate.authorize returns.

FieldTypeRequiredDescription
namestringrequiredMandate.authorized.
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.mandateMandaterequiredThe active Mandate.
data.mandate.expiresAtdatetimerequiredWhen it lapses.
data.mandate.limitLimitThe Limit that bounds it.
data.mandate.verbstringThe Verb it covers, as Noun.verb.
data.mandate.topicsstring[]What it may act on; an Action outside them becomes an Approval.
data.mandate.channelslist of ChannelThe Channels it may send through.
data.mandate.statusstringrequiredOne of active, paused, revoked or expired.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Mandate.authorized",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "mandate": {
      "$id": "https://api.sb/tutorloop.com/mandates/mandate_1",
      "$type": "Mandate",
      "expiresAt": "2026-10-22T12:00:00Z",
      "limit": "limit_1",
      "verb": "Example verb",
      "topics": [
        "Example topics"
      ],
      "channels": [
        "channel_1"
      ],
      "status": "active"
    }
  },
  "seq": 1
}