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

# IDashboardQuery

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

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Base type for all dashboard queries. A dashboard query encapsulates how complex, read-only dashboard-specific logic can be can be executed.

**Signature:**

```typescript
export interface IDashboardQuery 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [correlationId?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardquery/index.md#idashboardquerycorrelationid) | `readonly` | string | **_(BETA)_** _(Optional)_ Correlation ID can be provided when creating a query. Events emitted during the query processing will contain the same correlation ID. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardquery/index.md#idashboardquerytype) | `readonly` | [DashboardQueryType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.dashboardquerytype/index.md) | **_(BETA)_** Query type. Always starts with "GDC.DASH/QUERY". |

## Property details

### IDashboardQuery.correlationId

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Correlation ID can be provided when creating a query. Events emitted during the query processing will contain the same correlation ID.

**Signature:**

```typescript
readonly correlationId?: string;
```

### IDashboardQuery.type

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Query type. Always starts with "GDC.DASH/QUERY".

**Signature:**

```typescript
readonly type: DashboardQueryType;
```
