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

# supportConversationInsights

> Read daily and total conversation insights grouped by creation, closure or last response. The period may span at most 366 days.

**Required scopes:** [`support_analytics_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_analytics_read)

**Store must have one of:** `SUPPORT`

## Arguments

**dateGrouping** `[SupportInsightsDateGrouping](/docs/api-reference/v3/reference/support/support-insights-date-grouping)`

**end** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

**start** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

## Returns

**supportConversationInsights** `[SupportConversationInsights!](/docs/api-reference/v3/reference/support/support-conversation-insights)` *required*

**fields**

**assigneeSummaryByDay** `[\[SupportAssigneeSummaryByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-assignee-summary-by-day-analytics)` *required*

**fields**

**assigneeSummaryBreakdown** `[\[SupportAssigneeSummaryCount!\]!](/docs/api-reference/v3/reference/support/support-assignee-summary-count)` *required*

**fields**

**assigneeSummary** `[SupportTicketAssigneeSummary!](/docs/api-reference/v3/reference/support/support-ticket-assignee-summary)` *required*

**count** `Int!` *required*

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**totalConversations** `Int!` *required*

**assigneeSummaryTotals** `[\[SupportAssigneeSummaryCount!\]!](/docs/api-reference/v3/reference/support/support-assignee-summary-count)` *required*

**fields**

**assigneeSummary** `[SupportTicketAssigneeSummary!](/docs/api-reference/v3/reference/support/support-ticket-assignee-summary)` *required*

**count** `Int!` *required*

**categorySentimentCombinedTotals** `[\[SupportTopicSentimentCounts!\]!](/docs/api-reference/v3/reference/support/support-topic-sentiment-counts)` *required*

Customer sentiment on each insight topic.

**fields**

**negative** `Int!` *required*

**neutral** `Int!` *required*

**positive** `Int!` *required*

**topic** `String!` *required*

The insight topic's label.

**total** `Int!` *required*

**conversationCategoriesByDay** `[\[SupportConversationCategoriesByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-conversation-categories-by-day-analytics)` *required*

**fields**

**categoryBreakdown** `[\[SupportConversationCategoryCount!\]!](/docs/api-reference/v3/reference/support/support-conversation-category-count)` *required*

**fields**

**category** `[SupportConversationCategory!](/docs/api-reference/v3/reference/support/support-conversation-category)` *required*

**count** `Int!` *required*

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**totalConversations** `Int!` *required*

**conversationCategoriesTotals** `[\[SupportConversationCategoryCount!\]!](/docs/api-reference/v3/reference/support/support-conversation-category-count)` *required*

**fields**

**category** `[SupportConversationCategory!](/docs/api-reference/v3/reference/support/support-conversation-category)` *required*

**count** `Int!` *required*

**handoffByDay** `[\[SupportHandoffByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-handoff-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**handoffBySource** `[\[SupportHandoffSourceCount!\]!](/docs/api-reference/v3/reference/support/support-handoff-source-count)` *required*

**fields**

**count** `Int!` *required*

**source** `[SupportHandoffSource!](/docs/api-reference/v3/reference/support/support-handoff-source)` *required*

**totalHandoffs** `Int!` *required*

**handoffBySourceAndCategoryTotals** `[\[SupportHandoffSourceCategoryCount!\]!](/docs/api-reference/v3/reference/support/support-handoff-source-category-count)` *required*

**fields**

**category** `String!` *required*

The handoff category the AI agent chose.

**count** `Int!` *required*

**source** `[SupportHandoffSource!](/docs/api-reference/v3/reference/support/support-handoff-source)` *required*

**handoffBySourceTotals** `[\[SupportHandoffSourceCount!\]!](/docs/api-reference/v3/reference/support/support-handoff-source-count)` *required*

**fields**

**count** `Int!` *required*

**source** `[SupportHandoffSource!](/docs/api-reference/v3/reference/support/support-handoff-source)` *required*

**handoffSuggestedToolByDay** `[\[SupportHandoffSuggestedToolByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-handoff-suggested-tool-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**suggestedToolBreakdown** `[\[SupportSuggestedToolCount!\]!](/docs/api-reference/v3/reference/support/support-suggested-tool-count)` *required*

**fields**

**disabled** `Int!` *required*

Handoffs where the tool was disabled.

**enabled** `Int!` *required*

Handoffs where the tool was enabled.

**tool** `String!` *required*

The suggested tool's name.

**total** `Int!` *required*

**totalHandoffsWithSuggestedTool** `Float!` *required*

**handoffSuggestedToolEnabledDisabledTotals** `[SupportHandoffSuggestedToolEnabledDisabledTotalsAnalytics!](/docs/api-reference/v3/reference/support/support-handoff-suggested-tool-enabled-disabled-totals-analytics)` *required*

**fields**

**totalDisabled** `Float!` *required*

**totalEnabled** `Float!` *required*

**handoffSuggestedToolTotals** `[\[SupportSuggestedToolCount!\]!](/docs/api-reference/v3/reference/support/support-suggested-tool-count)` *required*

**fields**

**disabled** `Int!` *required*

Handoffs where the tool was disabled.

**enabled** `Int!` *required*

Handoffs where the tool was enabled.

**tool** `String!` *required*

The suggested tool's name.

**total** `Int!` *required*

**sentimentByDay** `[\[SupportSentimentByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-sentiment-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**sentimentBreakdown** `[SupportSentimentBreakdownAnalytics!](/docs/api-reference/v3/reference/support/support-sentiment-breakdown-analytics)` *required*

**fields**

**negative** `Int!` *required*

**neutral** `Int!` *required*

**positive** `Int!` *required*

**totalConversations** `Int!` *required*

**sentimentTotals** `[SupportSentimentTotalsAnalytics!](/docs/api-reference/v3/reference/support/support-sentiment-totals-analytics)` *required*

**fields**

**totalNegative** `Float!` *required*

**totalNeutral** `Float!` *required*

**totalPositive** `Float!` *required*

**tagsByDay** `[\[SupportTagsByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-tags-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**tagBreakdown** `[\[SupportTagCount!\]!](/docs/api-reference/v3/reference/support/support-tag-count)` *required*

**fields**

**count** `Int!` *required*

**tag** `String!` *required*

The tag's name.

**totalConversations** `Int!` *required*

**toolAnalysisTotals** `[\[SupportToolCallCount!\]!](/docs/api-reference/v3/reference/support/support-tool-call-count)` *required*

**fields**

**errors** `Int!` *required*

**successes** `Int!` *required*

**tool** `String!` *required*

The tool's name.

**total** `Int!` *required*

**toolAnalyticsByDay** `[\[SupportToolAnalyticsByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-tool-analytics-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**toolAnalysis** `[\[SupportToolCallCount!\]!](/docs/api-reference/v3/reference/support/support-tool-call-count)` *required*

**fields**

**errors** `Int!` *required*

**successes** `Int!` *required*

**tool** `String!` *required*

The tool's name.

**total** `Int!` *required*

**totalConversations** `Int!` *required*

**toolCallAnalyticsByDay** `[\[SupportToolCallAnalyticsByDayAnalytics!\]!](/docs/api-reference/v3/reference/support/support-tool-call-analytics-by-day-analytics)` *required*

**fields**

**date** `[Date!](/docs/api-reference/v3/reference/common/date)` *required*

**toolCallErrors** `Int!` *required*

**toolCallSuccesses** `Int!` *required*

**totalConversations** `Int!` *required*

**totalToolCalls** `Int!` *required*

**toolCallSentimentCombinedTotals** `[\[SupportToolSentimentCounts!\]!](/docs/api-reference/v3/reference/support/support-tool-sentiment-counts)` *required*

**fields**

**negative** `Int!` *required*

**neutral** `Int!` *required*

**positive** `Int!` *required*

**tool** `String!` *required*

The tool's name.

**total** `Int!` *required*

**toolCallTotals** `[SupportToolCallTotalsAnalytics!](/docs/api-reference/v3/reference/support/support-tool-call-totals-analytics)` *required*

**fields**

**totalErrors** `Int!` *required*

**totalSuccesses** `Int!` *required*

**totalToolCalls** `Int!` *required*

**toolErrorBreakdownTotals** `[\[SupportToolErrorCount!\]!](/docs/api-reference/v3/reference/support/support-tool-error-count)` *required*

**fields**

**count** `Int!` *required*

**errorType** `String!` *required*

**tool** `String!` *required*

The tool's name.

## Errors

Besides the [errors any request can return](https://developers.redo.com/docs/api-reference/v3/errors.md), this operation fails with these codes in `extensions.code`.

| Code | HTTP status | Meaning | Retry |
| - | - | - | - |
| `BAD_USER_INPUT` | `400` | An argument is invalid, or names something the store doesn't have. The message says which. Nothing was written. | Fix the input the message names, then send it again. |
| `SUPPORT_ANALYTICS_UNAVAILABLE` | `422` | The store can't report support analytics: support isn't turned on, or the store has no analytics account. The message says which. | Turn on support for the store in the merchant app, then send it again. A store with no analytics account needs Redo to set one up. |
| `INTERNAL_SERVER_ERROR` | `500` | Something failed on Redo's side. The change may or may not have been made. | Read the record to see whether the change was made before sending it again. A send with an idempotencyKey is safe to retry with the same key. |

## Example

```graphql theme={null}
query {
  supportConversationInsights(dateGrouping: CLOSED_AT, end: "...", start: "...")
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.