Set agent Conversation Insights config
PUThttps://platform.docana.com/api/v1/agents/:agentId/insights/config/
Stores the given Conversation Insights configuration on the agent, replacing any existing config in full (a complete replacement, never a merge). Pass insights: null to clear the config entirely. Read the current config with getAgent: it is returned under metadata.insights. Unrelated to pollAgentInsights, which reads document insights results.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The stored Insights config after the idempotent replacement.
Invalid path or insights body
The API key or session is missing, expired, or malformed.
No write access to the application
Agent not found in the application
Unexpected server error.