Skip to content

Document.rendered

Emitted each time a Document is rendered.

Document.render emits Document.rendered when it completes on a Document.

PropertyValue
Emitted byDocument.render
NounDocument
WakesNone.

Payload

Each delivery is an Event record. data holds what Document.render returns.

FieldTypeRequiredDescription
namestringrequiredDocument.rendered.
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.fileurlrequiredWhere the file lives.
data.documentDocumentrequiredThe Document rendered.
data.document.formstringrequiredOne of document, deck, or sheet.

Example

JSON
{
  "$id": "https://api.sb/routewise.dev/events/event_1",
  "$type": "Event",
  "name": "Document.rendered",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "file": "https://routewise.dev",
    "document": {
      "$id": "https://api.sb/routewise.dev/documents/document_1",
      "$type": "Document",
      "form": "document"
    }
  },
  "seq": 1
}