<!--
 ⚠️  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) / IEventContext

# Interface: IEventContext

Event context that accompanies an emitted event.
This is the single source of truth for deterministic linking in subscribers.

## Table of contents

### Properties

- [ownerType](IEventContext#ownertype)
- [ownerId](IEventContext#ownerid)
- [ownerPath](IEventContext#ownerpath)
- [rootExecutionId](IEventContext#rootexecutionid)
- [parentExecutionId](IEventContext#parentexecutionid)
- [executionId](IEventContext#executionid)
- [metadata](IEventContext#metadata)

## Properties

### ownerType

• **ownerType**: `string`

#### Defined in

[packages/agents/src/interfaces/event-service.ts:19](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L19)

---

### ownerId

• **ownerId**: `string`

#### Defined in

[packages/agents/src/interfaces/event-service.ts:20](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L20)

---

### ownerPath

• **ownerPath**: [`IOwnerPathSegment`](IOwnerPathSegment)[]

#### Defined in

[packages/agents/src/interfaces/event-service.ts:21](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L21)

---

### rootExecutionId

• `Optional` **rootExecutionId**: `string`

Optional higher-level execution context

#### Defined in

[packages/agents/src/interfaces/event-service.ts:24](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L24)

---

### parentExecutionId

• `Optional` **parentExecutionId**: `string`

#### Defined in

[packages/agents/src/interfaces/event-service.ts:25](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L25)

---

### executionId

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

#### Defined in

[packages/agents/src/interfaces/event-service.ts:26](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L26)

---

### metadata

• `Optional` **metadata**: [`TLoggerData`](../modules#tloggerdata)

Optional structured metadata for debugging/observability

#### Defined in

[packages/agents/src/interfaces/event-service.ts:29](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L29)
