> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Insights

<Badge icon="arrow-left" color="gray">[Back to Analytics Overview](/ai-for-service/analytics/overview)</Badge>

The **Query Insights** dashboard provides detailed analytics for user queries processed by Search AI. It helps you understand search behavior, identify frequently asked questions, evaluate answer effectiveness, and troubleshoot individual search interactions.

## Key Features

* **Detailed Analytics**: Understand user behavior and spot common query patterns.
* **Answer Feedback**: Collect and analyze feedback to assess the quality of your responses.
* **Debugging**: Use insights to troubleshoot problems and improve application performance.
* **Continuous Improvement**: Identify areas for enhancement to ensure more accurate and relevant responses.

To view, go to the **Analytics** page and select **Query Insights**.

## <img src="https://mintcdn.com/koreai/xs7A1As4Hs8HtCOR/ai-for-service/analytics/searchai/images/query-insights.jpg?fit=max&auto=format&n=xs7A1As4Hs8HtCOR&q=85&s=621f953cd6f3a06670539ed7400bfd44" alt="Query Insights" width="1651" height="751" data-path="ai-for-service/analytics/searchai/images/query-insights.jpg" />

## Query Overview

The dashboard displays all user queries for the selected time period. You can switch between:

* **Queries with Results**: Displays queries that returned one or more search results.
* **Queries without Results**: Displays queries that did not return any search results.

Each query includes the following information:

| Column           | Description                                                       |
| ---------------- | ----------------------------------------------------------------- |
| **Query**        | The search query submitted by the user.                           |
| **Last Asked**   | The most recent date and time the query was submitted.            |
| **Times Asked**  | Total number of times the query was submitted.                    |
| **With Results** | Number of searches that returned results.                         |
| **AI Answer**    | Number of searches for which an AI-generated answer was returned. |
| **Clicks**       | Number of user clicks on search results.                          |
| **Feedback**     | Overall feedback received for answers generated for the query.    |

Use these metrics to identify popular searches, monitor answer coverage, and evaluate user engagement.

***

## Filtering and Sorting

### Filter Queries

Use the filters at the top of the page to narrow the displayed results.

Using **Time Range**: Select a predefined time range, such as **Last 24 Hours**, or choose a custom date range.

Using **More Filters**: Select **More Filters** to filter analytics by:

* **Interaction Type**
* **Channels**
* **Custom Analytics Metadata**

Custom Analytics Metadata lets you filter analytics using metadata sent in the `analyticsMetadata` field of the Advanced Search API request.

For each metadata filter, specify:

* **Field**: Select the metadata key.
* **Operator**: Select the comparison operator.
* **Value(s)**: Enter one or more values.

You can combine multiple metadata filters using **AND** conditions.

<Note>Custom Analytics Metadata filters are available only for search requests that include the `analyticsMetadata` field.</Note>

### Search and Sort Queries

Use the controls above the query list to quickly locate and organize query records.

* **Search**: Find specific queries using keywords.
* **Sort By**: Sort queries based on available metrics, such as query frequency or recency.

***

## Detailed Information on Each Query

The detailed view provides complete information about an individual search interaction across multiple tabs.

| Tab                      | Description                                                                                                                                                                                                                       |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Retrieval**            | Displays the retrieval flow, response time, retrieval events, and retrieval configuration, including the retrieval strategy, embedding model, similarity and proximity thresholds, applied filters, and other retrieval settings. |
| **Overview**             | Displays the user query, generated answer, search metadata, and user feedback.                                                                                                                                                    |
| **Retrieved Chunks**     | Lists all retrieved chunks, the chunks sent to the LLM, and the chunks used to generate the final answer.                                                                                                                         |
| **Clicks**               | Displays user click activity for the search results returned for the query.                                                                                                                                                       |
| **Request and Response** | Displays the complete request and response payload for the search interaction.                                                                                                                                                    |
| **JSON View**            | Opens the complete interaction details in JSON format for debugging and analysis.                                                                                                                                                 |

***
