> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-59.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getCurrentConversation

> TypeScript SDK reference

# getCurrentConversation

▸ **getCurrentConversation**(): [`Conversation`](../classes/conversation) | `undefined`

Returns the current Conversation, or undefined.

#### Returns

[`Conversation`](../classes/conversation) | `undefined`

#### Defined in

[src/genai/context.ts:59](https://github.com/wandb/weave/blob/d5e11acb4bb292878563e3dca68e95312f03b6af/sdks/node/src/genai/context.ts#L59)

***
