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

# startTurn

> TypeScript SDK 레퍼런스

<div id="startturn">
  # startTurn
</div>

▸ **startTurn**(`opts?`): [`Turn`](../classes/turn)

새 Turn을 시작합니다. 활성 상태인 Conversation이 있으면 Turn이 해당
`conversationId`를 상속받고, 그렇지 않으면 Turn에는 conversation ID가 없습니다.

<div id="parameters">
  #### 매개변수
</div>

| 이름     | 유형                                   |
| :----- | :----------------------------------- |
| `opts` | [`TurnInit`](../interfaces/turninit) |

<div id="returns">
  #### 반환값
</div>

[`Turn`](../classes/turn)

`예시`

```ts twoslash theme={null}
// @noErrors
weave.startTurn({agentName: 'research-bot'});
```

`예시`

```ts twoslash theme={null}
// @noErrors
weave.startTurn({
  agentName: 'research-bot',
  startTime: new Date('2026-05-29T10:00:00.000Z'),
});
```

<div id="defined-in">
  #### 정의 위치
</div>

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

***
