> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IQueryWidgetAlertCount

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/queries/widgets.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Given a reference to a KPI widget, this query will obtain the total number of alerts all the users have set on it.

**Signature:**

```typescript
export interface IQueryWidgetAlertCount extends IDashboardQuery 
```
**Extends:** [IDashboardQuery](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardquery/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [payload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iquerywidgetalertcount/index.md#iquerywidgetalertcountpayload) | `readonly` | { readonly widgetRef: [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md); } | **_(ALPHA)_** |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iquerywidgetalertcount/index.md#iquerywidgetalertcounttype) | `readonly` | "GDC.DASH/QUERY.WIDGET.ALERT\_COUNT" | **_(ALPHA)_** |

## Property details

### IQueryWidgetAlertCount.payload

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
readonly payload: {
        readonly widgetRef: ObjRef;
    };
```

### IQueryWidgetAlertCount.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
readonly type: "GDC.DASH/QUERY.WIDGET.ALERT_COUNT";
```
