Get the current node of a pathway execution
Returns the node the execution is currently pointing at. Useful after a client restart, a network blip, or a node-mismatch error on submitAnswer. Prompt and option text are flattened against the locale the execution was started with. Returns the question, info, or terminal payload as appropriate; renderers branch on kind before reading the optional payloads.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Stable identifier of the pathway execution.
Response
The current node of the execution.
nodeId
Stable identifier for the current node.
kind
Discriminator for how to render this node. Renderers branch on this value before looking at the optional payloads.
prompt
options
Selectable answers, present when kind is question. Order is stable and matches the published tree.
terminal
Terminal payload, present when kind is terminal. The engine has already transitioned the execution to completed on a response carrying this payload.