Get the current node of a pathway execution

View as MarkdownOpen in Claude

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

idstringRequired
Stable identifier of the pathway execution.

Response

The current node of the execution.
nodeIdstring
Stable identifier for the current node.
kindenum
Discriminator for how to render this node. Renderers branch on this value before looking at the optional payloads.
promptobject
optionslist of objects

Selectable answers, present when kind is question. Order is stable and matches the published tree.

terminalobject

Terminal payload, present when kind is terminal. The engine has already transitioned the execution to completed on a response carrying this payload.