Run object
Serializer mixin: relabels the actor as "Nekt Support" for customer-facing output when the row was produced during a support impersonation session.
Add to any serializer whose model is an ImpersonationAttributedModel and
that exposes created_by and/or triggered_by. The real user stays in the
DB and the real agent stays in the ImpersonationSession audit trail.
The API contract is preserved: an EXPANDED actor field returns the full
"Nekt Support" object, while an UNEXPANDED one returns the NEKT_SUPPORT_ID
sentinel int — same scalar-id (integer) vs object shape as a normal user. We
never return the real user's id here (the frontend would resolve it against the
org and surface the impersonated customer instead of "Nekt Support").
pending_events- PENDING_EVENTSqueued- QUEUEDrunning- RUNNINGsuccess- SUCCESSfailed- FAILEDcancelling- CANCELLINGcanceled- CANCELED
pending_events, queued, running, success, failed, cancelling, canceled unsuccessful- Unsuccessfulcharged- Charged
unsuccessful, charged User that triggered the run (Expandable)
API token that triggered the run (Expandable)
Source of the run (Expandable)
Destination of the run (Expandable)
Transformation of the run (Expandable)