Skip to content

Action.canceled

Emitted each time an Action is canceled.

Action.cancel emits Action.canceled when it completes on an Action.

PropertyValue
Emitted byAction.cancel
NounAction
MovesAction pending to canceled
WakesNone.

Payload

Each delivery is an Event record. data holds what Action.cancel returns, and previous holds the state it left.

FieldTypeRequiredDescription
namestringrequiredAction.canceled.
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.actionActionrequiredThe canceled Action.
data.action.statusstringrequiredOne of pending, done, failed, canceled, or refused.
data.action.reasonstringWhy a pending Action waits: queued, running, retrying, awaitingWorker, awaitingInput, awaitingSource, awaitingAction, or awaitingTime.
data.action.modestringrequiredHow the caller invoked it: try, send, or do.
data.action.byWorkerThe Worker that performed it.
data.action.forPartyThe Party it was done on behalf of.
data.action.viastringThe Interface or request it arrived through.
data.action.onstringThe Action or Event that caused it, such as the failed attempt a retry follows.
data.action.thingstringThe record, at the Version the Action was decided against.
data.action.inputjsonThe input it was called with.
data.action.createdAtdatetimeWhen it was called.
data.action.reservedmoneyThe most this Action may cost, held against its Limits from the check until it settles, billed misses included.
data.previous.statusstringrequiredThe status before this Event: pending.

Example

JSON
{
  "$id": "https://api.sb/quietcopy.com/events/event_1",
  "$type": "Event",
  "name": "Action.canceled",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "action": {
      "$id": "https://api.sb/quietcopy.com/actions/action_1",
      "$type": "Action",
      "status": "canceled",
      "reason": "queued",
      "mode": "try",
      "by": "worker_1",
      "for": "party_1",
      "via": "API",
      "on": "Invoice.overdue",
      "thing": "invoice_1@v3",
      "input": {},
      "createdAt": "2026-10-22T12:00:00Z",
      "reserved": {
        "amount": 39,
        "currency": "USD"
      }
    },
    "previous": {
      "status": "pending"
    }
  },
  "seq": 1
}