> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SubjectDataExport

> Interface exported by @botmesh/core.

Defined in: [core/subjectData.ts:21](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L21)

Everything the bot stores about one user, as returned by `bot.exportSubject(userId)`
(for data-subject access requests).

## Properties

### namespace

```ts theme={null}
namespace: Readonly<StoreNamespace>;
```

Defined in: [core/subjectData.ts:22](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L22)

***

### userId

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

Defined in: [core/subjectData.ts:23](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L23)

***

### contact?

```ts theme={null}
contact?: StoredContact;
```

Defined in: [core/subjectData.ts:24](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L24)

***

### chats

```ts theme={null}
chats: StoredChat[];
```

Defined in: [core/subjectData.ts:25](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L25)

***

### messages

```ts theme={null}
messages: StoredMessage[];
```

Defined in: [core/subjectData.ts:26](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L26)

***

### conversation?

```ts theme={null}
conversation?: AIMessage[];
```

Defined in: [core/subjectData.ts:27](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L27)

***

### checkpoints

```ts theme={null}
checkpoints: [string, FlowCheckpoint][];
```

Defined in: [core/subjectData.ts:28](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L28)

***

### userData

```ts theme={null}
userData: UserDataEntry[];
```

Defined in: [core/subjectData.ts:30](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L30)

Live `ctx.user` profile entries (every namespace), sorted by namespace then key.

***

### exportedAt

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

Defined in: [core/subjectData.ts:31](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/subjectData.ts#L31)


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