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

# supportInsightMetrics

> Read AI and human resolution counts, median resolution times and channel volumes for the help desk insights window. Throws TRY_AGAIN if the search index is unavailable.

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

## Returns

**supportInsightMetrics** `[SupportInsightMetrics!](/docs/api-reference/v3/reference/support/support-insight-metrics)` *required*

The resolution and channel metrics used by help desk insights, over the last 28 days.

**fields**

**aiMedianResolutionMs** `Float!` *required*

**aiResolved** `Int!` *required*

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

**fields**

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

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

Tickets with a thread on this channel, counted as the help desk's insights count them. A ticket can be on several channels, and one with two kinds of thread that show as the same channel (an outreach email and an inbox email) counts twice.

**humanMedianResolutionMs** `Float!` *required*

**humanResolved** `Int!` *required*

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

## 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 {
  supportInsightMetrics {
    aiMedianResolutionMs
    aiResolved
    humanMedianResolutionMs
    humanResolved
    windowDays
  }
}
```


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