Open History to see the last commit
1---
2id: BaseAGUIEvent
3title: BaseAGUIEvent
4---
5
6Defined in: packages/ai/src/types.ts:1557
7
8Base structure for AG-UI events.
9Extends @ag-ui/core BaseEvent. TanStack extras ride in `metadata`.
10
11@ag-ui/core provides: `type`, `timestamp?`, `rawEvent?`
12
13## Extends
14
15- `BaseEvent`
16
17## Indexable
18
19```ts
20[key: string]: unknown
21```
22
23## Properties
24
25### metadata?
26
27```ts
28optional metadata?: Record<string, any>;
29```
30
31Defined in: packages/ai/src/types.ts:1558
32
33Extra information attached to this event.
34
35#### Overrides
36
37```ts
38AGUIBaseEvent.metadata
39```