Skip to content

Interface: AuditEntryDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AuditEntryDto

Defined in: src/types/audit.ts:20

One entry in the chain.

action: string

Defined in: src/types/audit.ts:26

What was done.


optional conversationId?: string | null

Defined in: src/types/audit.ts:38

The conversation this belongs to, when it belongs to one.


detail: string

Defined in: src/types/audit.ts:28

Why, or with what.


eventType: string

Defined in: src/types/audit.ts:24

What kind of event this was — the application’s own vocabulary.


hashCurrent: string

Defined in: src/types/audit.ts:32

This entry’s hash.


hashPrevious: string

Defined in: src/types/audit.ts:34

The previous entry’s hash — what makes the log a chain.


id: string

Defined in: src/types/audit.ts:22

Entry identifier.


optional messageId?: string | null

Defined in: src/types/audit.ts:40

The message within that conversation.


metadata: unknown

Defined in: src/types/audit.ts:36

Anything else the application recorded.


optional tenantId?: string

Defined in: src/types/audit.ts:44

The tenant it was recorded under.


timestamp: string

Defined in: src/types/audit.ts:30

When it happened.


optional userId?: string | null

Defined in: src/types/audit.ts:42

Who did it.