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

# ITakeawayResult

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.68/libs/sdk-backend-spi/src/workspace/genAI/index.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).
> 

Response payload for an AI takeaway.

**Signature:**

```typescript
export interface ITakeawayResult 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [agentId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.itakeawayresult/index.md#itakeawayresultagentid) |  | string | **_(BETA)_** The AI Hub agent the takeaway was written as. |
| [contextOmitted](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.itakeawayresult/index.md#itakeawayresultcontextomitted) |  | [TakeawayContextPart](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.takeawaycontextpart/index.md)[] | **_(BETA)_** Context that did not fully load. The takeaway is written from what did load. |
| [generatedAt](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.itakeawayresult/index.md#itakeawayresultgeneratedat) |  | string | **_(BETA)_** When the takeaway was generated, as an ISO 8601 timestamp. |
| [noData](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.itakeawayresult/index.md#itakeawayresultnodata) |  | boolean | **_(BETA)_** True when no visualization has data for the filters. No text is written then. |
| [takeaway](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.itakeawayresult/index.md#itakeawayresulttakeaway) |  | string \| null | **_(BETA)_** The takeaway text, or null when `noData` is true. |

## Property details

### ITakeawayResult.agentId

> **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).
> 

The AI Hub agent the takeaway was written as.

**Signature:**

```typescript
agentId: string;
```

### ITakeawayResult.contextOmitted

> **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).
> 

Context that did not fully load. The takeaway is written from what did load.

**Signature:**

```typescript
contextOmitted: TakeawayContextPart[];
```

### ITakeawayResult.generatedAt

> **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).
> 

When the takeaway was generated, as an ISO 8601 timestamp.

**Signature:**

```typescript
generatedAt: string;
```

### ITakeawayResult.noData

> **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).
> 

True when no visualization has data for the filters. No text is written then.

**Signature:**

```typescript
noData: boolean;
```

### ITakeawayResult.takeaway

> **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).
> 

The takeaway text, or null when `noData` is true.

**Signature:**

```typescript
takeaway: string | null;
```
