Skip to content

MngGetAIWorkflowEvents

GET ai/workflow/events

The catalogue for the event picker of a binding form. It also answers the question "is the platform sending this at all": seen and seenCount count what the module actually received since it started.

Access Control

Allowed: admin.

Response Data

{
  "rows": [
    {
      "name": "account.margin_state",
      "title": "Margin call / stop out",
      "description": "Margin level transition: OK = 0, MARGINCALL = 1, STOPOUT = 2…",
      "variables": ["login", "group", "brand", "previous_level_type", "level_type", "margin_level", "equity", "margin", "margin_free"],
      "recipient": { "type": "account", "field": "login" },
      "dedupeBy": ["login", "level_type"],
      "verifyBeforeSend": true,
      "sensitive": true,
      "agreed": true,
      "source": "platform",
      "seen": true,
      "seenCount": 2,
      "lastSeenAt": "2026-09-17 10:02:11"
    }
  ],
  "count": 9,
  "agreed": 7,
  "seen": 2,
  "channels": { "notify": "Platform notification (MngAddNotify)…" }
}
Field Meaning
variables The placeholders available in a template for this event
recipient Who the notification is addressed to, and from which payload field
agreed Whether the platform publishes this event under this name. A binding can only be created for true
verifyBeforeSend The module rereads the state before messaging a client, because the event may be stale
seen, seenCount Whether this event has arrived since the service started; counters reset on restart

Events with agreed: false are listed on purpose — it is otherwise impossible to tell what to ask the platform team for.

Errors

Code Error Description
403 AI_ACCESS_DENIED The session is not an administrator