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

# supportCsatAbTestResults

> Read how each arm of the store's CSAT A/B test is doing, as the Customer satisfaction settings' A/B test tab shows it: the arms set up now, in their order, whether or not the test is on. Surveys of an arm since removed aren't counted.

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

## Arguments

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

Only surveys sent at or after this time. A survey with no recorded send time is left out when either bound is given. Omitted: no lower bound.

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

Only surveys sent at or before this time. Earlier than `sentAfter` is BAD\_USER\_INPUT. Omitted: no upper bound.

## Returns

**supportCsatAbTestResults** `[\[SupportCsatAbTestResult!\]!](/docs/api-reference/v3/reference/support/support-csat-ab-test-result)` *required*

How one arm of the store's CSAT A/B test is doing.

**fields**

**averageRating** `Float`

The average rating of the answered surveys, from 1 to 5. Null when none was rated.

**key** `String!` *required*

The arm's key, as `SupportCsatSettings.abTestVariants` lists it.

**name** `String!` *required*

The arm's name.

**responseCount** `Int!` *required*

Delivered surveys the customer answered.

**responseRate** `Float!` *required*

The share of delivered surveys that were answered, from 0 to 1. 0 when none were delivered.

**sentCount** `Int!` *required*

Surveys delivered with the arm's settings. Pending and failed ones aren't counted.

## Example

```graphql theme={null}
query {
  supportCsatAbTestResults(sentAfter: "...", sentBefore: "...") {
    averageRating
    key
    name
    responseCount
    responseRate
    sentCount
  }
}
```


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