> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: CompactResult

> Generated from the public TypeScript API.

Completed compaction boundary with its identifier, pre-compaction token count, preserved messages and optional summary text.

## Properties

### compactionId

```ts theme={null}
compactionId: string;
```

***

### preCompactTokenCount

```ts theme={null}
preCompactTokenCount: number;
```

***

### preservedMessageIds

```ts theme={null}
preservedMessageIds: string[];
```

***

### summaryText?

```ts theme={null}
optional summaryText?: string;
```

Text produced by the summary assistant, when available.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.