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

# startSession

> TypeScript SDK reference

# startSession

<Warning>
  **Deprecated.** Use [startConversation](../functions/startconversation) instead.
</Warning>

▸ **startSession**(`opts?`): [`Conversation`](../classes/conversation)

#### Parameters

| Name   | Type                                                 |
| :----- | :--------------------------------------------------- |
| `opts` | [`ConversationInit`](../interfaces/conversationinit) |

#### Returns

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

#### Defined in

[src/genai/api.ts:33](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/api.ts#L33)

***
