> ## 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.

# ConversationEndInfo

> Interface exported by @botmesh/core.

Defined in: [conversations/ConversationRuntime.ts:262](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L262)

Describes a conversation instance when it ends: its outcome, duration and `goto` target.

## Extends

* [`ConversationStartInfo`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo)

## Properties

### id

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

Defined in: [conversations/ConversationRuntime.ts:251](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L251)

Unique per conversation instance: pairs a start with its end (several can share `key`/`name`).

#### Inherited from

[`ConversationStartInfo`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo).[`id`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo#id)

***

### name

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

Defined in: [conversations/ConversationRuntime.ts:252](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L252)

#### Inherited from

[`ConversationStartInfo`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo).[`name`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo#name)

***

### key

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

Defined in: [conversations/ConversationRuntime.ts:253](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L253)

#### Inherited from

[`ConversationStartInfo`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo).[`key`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo#key)

***

### ctx

```ts theme={null}
ctx: RuntimeMessage;
```

Defined in: [conversations/ConversationRuntime.ts:254](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L254)

#### Inherited from

[`ConversationStartInfo`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo).[`ctx`](https://botmesh.afaya.com.co/api/core/interfaces/ConversationStartInfo#ctx)

***

### outcome

```ts theme={null}
outcome: ConversationOutcome;
```

Defined in: [conversations/ConversationRuntime.ts:263](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L263)

***

### durationMs

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

Defined in: [conversations/ConversationRuntime.ts:264](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L264)

***

### goto?

```ts theme={null}
goto?: string;
```

Defined in: [conversations/ConversationRuntime.ts:266](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L266)

Target of the `c.goto()` that ended it, when it ended that way.


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