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

# ConversationCounters

> Interface exported by @botmesh/core.

Defined in: [ops/metrics.ts:15](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/metrics.ts#L15)

Per-outcome conversation counters (also used per flow).

## Properties

### started

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

Defined in: [ops/metrics.ts:16](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/metrics.ts#L16)

***

### completed

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

Defined in: [ops/metrics.ts:18](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/metrics.ts#L18)

The function / flow returned (or `c.goto()`-ed elsewhere).

***

### ended

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

Defined in: [ops/metrics.ts:20](https://github.com/andresayac/botmesh/blob/main/packages/core/src/ops/metrics.ts#L20)

Ended with `c.end()`.

***

### guarded

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

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

Stopped by a failed `.guard()` (farewell or `redirect`).

***

### cancelled

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

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

***

### timedOut

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

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

***

### retriesExceeded

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

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

***

### errored

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

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

***

### avgDurationMs

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

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

Mean duration of the conversations that ended (ms); `0` when none ended yet.


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