get_scenario_node_schema
Scenario node types and the JSON schema of their polymorphic 'payload' config — the shape the OpenAPI schema cannot show (it types 'payload' as an opaque string). CALL THIS BEFORE creating or configuring ANY scenario node: the server fills a default payload only for events and listeners (every ACTION comes back null) and type-checks only 13 of 137 node types, so a guessed payload is stored with HTTP 200 and breaks at run time. Without arguments returns the graph model and workflow; 'kind'/'search'/'outputs' list node types (outputs='fail' answers "which steps can I attach error handling to?"); 'actionType' returns one node's payload schema, default payload and — critically — which link types it routes to; 'scenarioId' returns the trigger events THAT scenario accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional kind filter: 'action', 'event' or 'listener'. | |
| search | No | Optional search over node type names, titles and categories, e.g. 'send email' or 'tag'. | |
| outputs | No | Optional link-type filter: 'fail' lists every node an error branch can actually hang off (most actions have none), 'success' the branching ones, 'default' the linear ones. | |
| actionType | No | Optional exact node type (the C# class name), e.g. 'DelayScenarioAction'. | |
| scenarioId | No | Optional scenario id — returns the events that scenario accepts as triggers. |