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

# supportMetricDrilldown

> Read the records behind a dashboard metric or chart bucket. Pass the returned cursor to continue the same selection. 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

**analytic** `[SupportDashboardAnalytic!](/docs/api-reference/v3/reference/support/support-dashboard-analytic)` *required*

**bucketKey** `String`

**columns** `[String!]!` *required*

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

**cursor** `String`

The previous page's nextCursor. It continues only the analytic, objectType, sortField and sortOrder it came from.

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

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

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

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

**limit** `Int`

Records per page, from 1 to 200.

**objectType** `[SupportDrilldownObject!](/docs/api-reference/v3/reference/support/support-drilldown-object)` *required*

**platforms** `[\[SupportAnalyticsPlatform!\]](/docs/api-reference/v3/reference/support/support-analytics-platform)`

**sortField** `String`

**sortOrder** `[SupportDrilldownSortOrder](/docs/api-reference/v3/reference/support/support-drilldown-sort-order)`

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

## Returns

**supportMetricDrilldown** `[SupportMetricDrilldownPage!](/docs/api-reference/v3/reference/support/support-metric-drilldown-page)` *required*

**fields**

**items** `[\[JSON!\]!](/docs/api-reference/v3/reference/common/json)` *required*

One row per matching record, keyed by the requested column names.

**nextCursor** `String`

## 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. |
| `INVALID_PAGE_SIZE` | `400` | A search's `first`, or a drill-down's `limit`, is outside the range its description gives. | Send a page size within the range. |
| `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 {
  supportMetricDrilldown(analytic: BASE_AVG_TOUCH_COUNT, bucketKey: "...", columns: "...", cursor: "...", dayEnd: "...", dayInstant: "...", dayStart: "...", end: "...", limit: 10, objectType: CONVERSATION, platforms: ATTENTIVE, sortField: "...", sortOrder: ASC, start: "...") {
    items
    nextCursor
  }
}
```


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