--- id: ActivityRecord title: ActivityRecord --- Defined in: [packages/ai/src/types.ts:598](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L598) Durable sidecar row for frontend-only AG-UI activity. Never a ModelMessage. `index` is the insert position in the reconstructed UI transcript. ## Extends - `Omit`\<`AGUIActivityMessage`, `"role"`\> ## Properties ### index ```ts index: number; ``` Defined in: [packages/ai/src/types.ts:599](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L599)