> ## 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.

# supportTopicVolumes

> Read the ticket volumes the help desk's savings estimates are built from: tickets created in the last 30 days (`windowDays`), by insight topic and channel. These are raw counts; the home dashboard shows them adjusted for the season. The counts come from the search index, so a new ticket can take a few seconds to count. Throws TRY_AGAIN (503) when the index can't be read.

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

## Returns

**supportTopicVolumes** `[SupportTopicVolumes!](/docs/api-reference/v3/reference/support/support-topic-volumes)` *required*

The help desk insights' ticket volumes: the tickets created in the last `windowDays` days, by insight topic and by channel. These are the raw counts the help desk's savings estimates start from, before the seasonal adjustment the home dashboard applies.

**fields**

**channels** `[\[SupportChannelVolume!\]!](/docs/api-reference/v3/reference/support/support-channel-volume)` *required*

Ticket counts by channel, most tickets first. Channels with no tickets are left out, as is one `MessageChannel` has no value for.

**fields**

**channel** `[MessageChannel!](/docs/api-reference/v3/reference/support/message-channel)` *required*

**ticketCount** `Int!` *required*

Tickets with a thread on this channel. A ticket can have several.

**ticketCount** `Int!` *required*

Tickets created in the window, as the help desk's analytics count them: leaving out tickets with no customer message, tickets tagged spam or left out of analytics, archived, hidden or deleted tickets, and tickets the retired chatbot was assigned.

**topics** `[\[SupportInsightTopicVolume!\]!](/docs/api-reference/v3/reference/support/support-insight-topic-volume)` *required*

Ticket counts by insight topic, most tickets first. Topics with no tickets are left out, as is a topic the index holds that `SupportInsightTopic` has no value for (a retired one), so the counts can add up to less than `ticketCount`.

**fields**

**ticketCount** `Int!` *required*

Tickets with this topic. A ticket can have several.

**topic** `[SupportInsightTopic!](/docs/api-reference/v3/reference/support/support-insight-topic)` *required*

**windowDays** `Int!` *required*

Days counted, ending now, as the help desk's insights count them (30).

## 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 |
| - | - | - | - |
| `TRY_AGAIN` | `503` | The change couldn't start for a passing reason, and nothing was written or sent. | Send the same request again after a short wait, with the same idempotencyKey if it has one. |
| `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 {
  supportTopicVolumes {
    ticketCount
    windowDays
  }
}
```


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