> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/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/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/context.ts#L59)

***
