Returned by: List Scenario Runs
Example scenario run object
Top-level
| Field | Type | Description |
|---|---|---|
_id | string | ID of the run record |
scenarioId | string | The scenario (subscription) that ran |
version | number | Revision version that ran |
success | boolean | Whether the run completed without errors |
started | number | Run start time (epoch ms) |
executionTime | number | Total execution time in milliseconds |
conditionsResult | boolean | Overall conditions outcome. false = the event fired but conditions filtered it out, so actions did not run |
Steps
Each item ofsteps[] records one executed component. Common fields plus per-type extras:
| Field | Type | Description |
|---|---|---|
type | string | event, loader, condition, action, loop |
name | string | Component name (e.g. domain.message.created, chat, filtrex, request) |
executionTime | number | Step duration in milliseconds |
error | string | Error message, when the step failed |
result | boolean | Conditions only: whether this condition passed |
groupIndex / index | number | Position of the condition/loader/action within the revision definition |
position | string | Loaders only: beforeConditions / afterConditions |
output | any | Actions only: the action result (e.g. webhook response), when recorded |
iterations | object[] | Loops only: sub-run results, each with its own success / steps / executionTime |