> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateSessionRequest

> TypeScript request type for the HoneyHive API

## Properties

### children\_ids?

> `optional` **children\_ids?**: `string`\[]

#### Description

IDs of child events in this session

***

### config?

> `optional` **config?**: `object`

#### Index Signature

\[`key`: `string`]: `unknown`

#### Description

Configuration associated with the session

***

### duration?

> `optional` **duration?**: `number`

#### Description

Session duration in milliseconds

***

### end\_time?

> `optional` **end\_time?**: `number`

#### Description

Session end time as Unix milliseconds

***

### event\_name?

> `optional` **event\_name?**: `string`

#### Description

Fallback name if session\_name is not provided

***

### inputs?

> `optional` **inputs?**: `object`

#### Index Signature

\[`key`: `string`]: `unknown`

#### Description

Input data for the session

***

### metadata?

> `optional` **metadata?**: `object`

#### Index Signature

\[`key`: `string`]: `unknown`

#### Description

Arbitrary metadata for the session

***

### outputs?

> `optional` **outputs?**: `object`

#### Index Signature

\[`key`: `string`]: `unknown`

#### Description

Output data from the session

***

### session\_id?

> `optional` **session\_id?**: `string`

#### Description

Client-provided session ID (server generates one if omitted)

***

### session\_name?

> `optional` **session\_name?**: `string`

#### Description

Display name for the session

***

### source?

> `optional` **source?**: `string`

#### Description

Source of the session (e.g., sdk-python)

***

### start\_time?

> `optional` **start\_time?**: `number`

#### Description

Session start time as Unix milliseconds

***

### user\_properties?

> `optional` **user\_properties?**: `object`

#### Index Signature

\[`key`: `string`]: `unknown`

#### Description

User properties associated with the session


## Related topics

- [Sessions Methods](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/sessions/index.md)
- [CreateSessionEventBatchRequest](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/sessions/CreateSessionEventBatchRequest.md)
- [Sessions](https://docs.honeyhive.ai/v2/cli-reference/ref/sessions.md)


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