--- title: "insights.clear" slug: "ai-insights-clear" updated: 2025-11-06T19:36:24Z published: 2025-11-06T19:36:24Z canonical: "docs.doc-know.com/ai-insights-clear" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # insights.clear ### ai.insights.clear Removes insights and plots from the hosting product's insights panel. If a category is specified, only items within that category are removed. ### Input Parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | **[category]** | Text | No | Category of insights to remove | | **[insights]** | Boolean | No | Whether or not to clear insights | | **[plots]** | Boolean | No | Whether or not to clear plots | ### Returns No return value. ### Examples ``` // remove all insights in all categories ai.insights.clear(); ``` ``` // remove all message insights in the "Tests" category only ai.insights.clear("Tests", true, false); ``` ``` // remove all plot insights in the "Tests" category only ai.insights.clear("Tests", false, true); ``` ### Remarks Use this function when you want to remove several or all items from the hosting product's insights panel.