Pular para o conteúdo principal

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. subAgents lists the agents the draft calls through subAgent nodes; use an agentId as source.agentId for subAgentCalled (boolean) or subAgentCallCount (number), which count calls in any spec version. No full spec is returned. A legacy agent without a spec draft answers null artifact fields and empty lists.

Request​

Responses​

Main draft reference and safe node summaries