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

# parseTranscript()

> Function exported by @botmesh/core.

```ts theme={null}
function parseTranscript(input): Transcript;
```

Defined in: [testing/transcripts/format.ts:137](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/format.ts#L137)

Parse and validate a transcript (a JSON string or an already-parsed object).
Throws [TranscriptFormatError](https://botmesh.afaya.com.co/api/core/classes/TranscriptFormatError.md) when the shape or version is wrong.

## Parameters

| Parameter | Type |
| - | - |
| `input` | `unknown` |

## Returns

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


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