> ## 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.

# ShortLinkAlert

> The schema definition for the ShortLinkAlert resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the short link alert.

## Specific attributes

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

kind

varchar

public

required

The kind of the short link alert.

**Rules**: Possible values: clicks\_drop\_percent, clicks\_per\_day\_above. Max length: 30 characters

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

last\_triggered\_at

timestamp

public

Timestamp when the short link alert was last triggered.

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

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

threshold

integer

public

required

The threshold of the short link alert.

## Foreign keys

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

account

uuid

public

Optional reference to the Account associated with the short link alert. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

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

short\_link

uuid

public

required

Reference to the Short Link this short link alert belongs to. [Ref: Short Link Schema](https://docs.bbrands.io/schemas/short-link/short-link.md)

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

user

uuid

public

required

Reference to the Users this short link alert belongs to.

## 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.