Skip to main content

List workflow nodes an Insight can measure

GET 

https://platform.docana.com/api/v1/agents/:agentId/insights/source-nodes/

Returns the current main draft artifact id and version of the agent together with a safe summary of its workflow nodes (id, label, type, position, nesting path, adjacent labels). Use these values as source.node when saving a Conversation Insights data point with source.kind nodeReached (boolean) or nodeExecutionCount (number) through updateAgentInsights. No full spec is returned. A legacy agent without a spec draft answers null artifact fields and an empty list.

Request

Responses

Main draft reference and safe node summaries