Skip to main content

Set agent Conversation Insights config

PUT 

https://platform.docana.com/api/v1/agents/:agentId/insights/config/

Stores the given Conversation Insights configuration on the agent, replacing any existing config in full and keeping its managed table in sync whenever Insights is enabled with configured fields. Pass insights: null to clear the config and pause its table. Read the current config with getAgent: it is returned under metadata.insights. Each data point has a type (string, number or boolean) and an optional source: omit it for AI extraction, or use nodeReached (boolean) or nodeExecutionCount (number) with a node from listAgentInsightSourceNodes to measure a workflow node deterministically. Boolean and number points can decide an experiment winner; string points cannot. Use getAgentInsightTable for table links and configureAgentInsightTable to pause or include existing history. Unrelated to pollAgentInsights, which reads document insights results.

Request​

Responses​

The stored Insights config after the idempotent replacement.