# AuditEntry

Fields, allowed values, and APIs that use AuditEntry.

Canonical: https://grid.syidax.com/docs/types/AuditEntry/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export type AuditEntry = AuditRowsEntry | AuditCellEntry | AuditSelectionEntry | AuditHistoryEntry;
```

<a id="used-by"></a>

## APIs using this type

- [getAuditLog](https://grid.syidax.com/docs/methods/getAuditLog.md) — Reads audit records as an array, optionally filtered by type, sequence, or time. Returns an empty array when recording is disabled.
- [auditLogChanged](https://grid.syidax.com/docs/events/auditLogChanged.md) — Emitted when an audit record is added. Read entry to connect your app's retention flow.

<a id="parents"></a>

## Contracts containing this type

- [AuditLogFilter](https://grid.syidax.com/docs/types/AuditLogFilter.md)
- [SyGridEventMap](https://grid.syidax.com/docs/types/SyGridEventMap.md)
- [SyGridImperativeMethods](https://grid.syidax.com/docs/types/SyGridImperativeMethods.md)

<a id="related"></a>

## Related types

- [AuditRowsEntry](https://grid.syidax.com/docs/types/AuditRowsEntry.md)
- [AuditCellEntry](https://grid.syidax.com/docs/types/AuditCellEntry.md)
- [AuditSelectionEntry](https://grid.syidax.com/docs/types/AuditSelectionEntry.md)
- [AuditHistoryEntry](https://grid.syidax.com/docs/types/AuditHistoryEntry.md)
