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

# CreateEventRequest

> TypeScript request type for the HoneyHive API

## Properties

### children\_ids?

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

#### Description

Child event IDs in the trace hierarchy

***

### config?

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

#### Index Signature

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

#### Description

Configuration used for this event

***

### duration?

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

#### Description

Event duration in milliseconds

***

### end\_time?

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

#### Description

Event end time as Unix milliseconds

***

### error?

> `optional` **error?**: `string` | `null`

#### Description

Error message if the event failed

***

### event\_id?

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

#### Description

Unique event identifier

***

### event\_name?

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

#### Description

Name of the event

***

### event\_type

> **event\_type**: `"model"` | `"tool"` | `"chain"` | `"session"`

#### Description

Type of event (model, tool, chain, or session)

***

### feedback?

> `optional` **feedback?**: `object`

#### Index Signature

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

#### Description

Feedback data associated with the event

***

### inputs

> **inputs**: `object`

#### Index Signature

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

#### Description

Input data for the event

***

### metadata?

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

#### Index Signature

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

#### Description

Arbitrary metadata for the event

***

### metrics?

> `optional` **metrics?**: `object`

#### Index Signature

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

#### Description

Metric values computed for the event

***

### outputs?

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

#### Index Signature

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

#### Description

Output data from the event

***

### parent\_id?

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

#### Description

Parent event ID in the trace hierarchy

***

### project\_id?

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

#### Description

Project ID

***

### session\_id?

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

#### Description

Session this event belongs to

***

### source?

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

#### Description

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

***

### start\_time?

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

#### Description

Event start time as Unix milliseconds

***

### user\_properties?

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

#### Index Signature

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

#### Description

User properties associated with the event


## Related topics

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


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