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

# IInsightsQueryOptions

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-spi/src/workspace/insights/index.ts

Configuration options for querying insights

**Signature:**

```typescript
export interface IInsightsQueryOptions 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [author?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionsauthor) |  | string | _(Optional)_ Filter insights by their author. The value of this property is URI of the author. |
| [limit?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionslimit) |  | number | _(Optional)_ Specify number of items per page. Default: 50 |
| [loadUserData?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionsloaduserdata) |  | boolean | _(Optional)_ Specify if information about the users that created/modified the insights should be loaded for each insight. |
| [offset?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionsoffset) |  | number | _(Optional)_ Specify (zero-based) starting offset for the results. Default: 0 |
| [orderBy?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionsorderby) |  | [InsightOrdering](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.insightordering/index.md) | _(Optional)_ Specify ordering of the insights. Default: natural ordering provided by the analytical backend. Note: this may differ between backend implementations. |
| [title?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iinsightsqueryoptions/index.md#iinsightsqueryoptionstitle) |  | string | _(Optional)_ Filter insights by their title |

## Property details

### IInsightsQueryOptions.author

Filter insights by their author. The value of this property is URI of the author.

**Signature:**

```typescript
author?: string;
```

### IInsightsQueryOptions.limit

Specify number of items per page. Default: 50

**Signature:**

```typescript
limit?: number;
```

### IInsightsQueryOptions.loadUserData

Specify if information about the users that created/modified the insights should be loaded for each insight.

**Signature:**

```typescript
loadUserData?: boolean;
```

#### Remarks

Defaults to false.

### IInsightsQueryOptions.offset

Specify (zero-based) starting offset for the results. Default: 0

**Signature:**

```typescript
offset?: number;
```

### IInsightsQueryOptions.orderBy

Specify ordering of the insights. Default: natural ordering provided by the analytical backend. Note: this may differ between backend implementations.

**Signature:**

```typescript
orderBy?: InsightOrdering;
```

### IInsightsQueryOptions.title

Filter insights by their title

**Signature:**

```typescript
title?: string;
```
