<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / EventData

# Interface: EventData

Event data structure

## Hierarchy

- **`EventData`**

  ↳ [`HierarchicalEventData`](HierarchicalEventData)

## Table of contents

### Properties

- [type](EventData#type)
- [timestamp](EventData#timestamp)
- [executionId](EventData#executionid)
- [sessionId](EventData#sessionid)
- [userId](EventData#userid)
- [data](EventData#data)
- [error](EventData#error)
- [metadata](EventData#metadata)

## Properties

### type

• **type**: [`EventType`](../modules#eventtype)

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:160](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L160)

---

### timestamp

• **timestamp**: `Date`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:161](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L161)

---

### executionId

• `Optional` **executionId**: `string`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:162](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L162)

---

### sessionId

• `Optional` **sessionId**: `string`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:163](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L163)

---

### userId

• `Optional` **userId**: `string`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:164](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L164)

---

### data

• `Optional` **data**: `EventExecutionContextData`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:165](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L165)

---

### error

• `Optional` **error**: `Error`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:166](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L166)

---

### metadata

• `Optional` **metadata**: `EventEmitterMetadata`

#### Defined in

[packages/agents/src/plugins/event-emitter-plugin.ts:167](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/event-emitter-plugin.ts#L167)
