Skip to content

Thing.restored

Emitted each time a Thing is restored.

Thing.restore emits Thing.restored when it completes on a Thing.

PropertyValue
Emitted byThing.restore
NounThing
WakesNone.

Payload

Each delivery is an Event record. data holds what Thing.restore returns.

FieldTypeRequiredDescription
namestringrequiredThing.restored.
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.thingThingrequiredThe Thing, back in every list and query it left.
data.thing.idstringrequiredThe stable identifier, which never changes.
data.thing.typelist of NounrequiredThe Nouns this Thing is an instance of.
data.thing.statestringThe current state in its lifecycle.
data.thing.outsidejsonThe ids this Thing has in outside tools, one per Integration, so a re-run matches instead of duplicating.

Example

JSON
{
  "$id": "https://api.sb/leaseline.app/events/evt_dE1D6bfHzv",
  "$type": "Event",
  "name": "Thing.restored",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "thing": {
      "$id": "https://api.sb/leaseline.app/things/thing_8ds0r9vvRl",
      "$type": "Thing",
      "id": "Example id",
      "type": [
        "noun_v0akLUrXCN"
      ],
      "state": "Example state",
      "outside": {}
    }
  },
  "seq": 317
}