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

# IAiRateLimit

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

AI rate limit configuration. Caps how many AI chat messages a user can send within a rolling time window.

**Signature:**

```typescript
export interface IAiRateLimit 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [maxInteractions](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iairatelimit/index.md#iairatelimitmaxinteractions) |  | number | Maximum number of AI interactions allowed within the time window. Must be a positive integer. |
| [timeWindowHours](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iairatelimit/index.md#iairatelimittimewindowhours) |  | number | Length of the rolling time window in hours. Must be a positive integer. |

## Property details

### IAiRateLimit.maxInteractions

Maximum number of AI interactions allowed within the time window. Must be a positive integer.

**Signature:**

```typescript
maxInteractions: number;
```

### IAiRateLimit.timeWindowHours

Length of the rolling time window in hours. Must be a positive integer.

**Signature:**

```typescript
timeWindowHours: number;
```
