> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# AuditLog

> The schema definition for the AuditLog resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the audit log.

## Specific attributes

[Navigate to header](#param-commercial-activity)

account\_ids

PgArray

public

required

The account ids of the audit log.

[Navigate to header](#param-commercial-activity)

actor\_label

varchar

public

The actor label of the audit log.

**Rules**: Max length: 255 characters

[Navigate to header](#param-commercial-activity)

actor\_user

uuid

public

The actor user of the audit log.

[Navigate to header](#param-commercial-activity)

changed\_fields

PgArray

public

required

The changed fields of the audit log.

[Navigate to header](#param-commercial-activity)

correlation

varchar

public

The correlation of the audit log.

**Rules**: Max length: 255 characters

[Navigate to header](#param-commercial-activity)

new\_data

jsonb

public

The new data of the audit log.

[Navigate to header](#param-commercial-activity)

old\_data

jsonb

public

The old data of the audit log.

[Navigate to header](#param-commercial-activity)

operation

varchar

public

required

The operation of the audit log.

**Rules**: Max length: 20 characters

[Navigate to header](#param-commercial-activity)

reason

varchar

public

The reason of the audit log.

**Rules**: Max length: 500 characters

[Navigate to header](#param-commercial-activity)

record\_id

uuid

public

required

The record ID of the audit log.

[Navigate to header](#param-commercial-activity)

source

varchar

default:"database"

public

required

The source of the audit log.

**Rules**: Max length: 30 characters

[Navigate to header](#param-commercial-activity)

table\_name

varchar

public

required

The table name of the audit log.

**Rules**: Max length: 63 characters

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.