Skip to main content

Interface: History

Tracks creation and modification timestamps for an entity.

This interface captures audit information about when an entity was created and last modified, along with identifying the users who performed these actions. This data is valuable for tracking changes, implementing validation rules based on timestamps, and supporting collaborative workflows.

Properties​

createdDate​

createdDate: number

Timestamp of when the entity was created (in milliseconds since epoch).

This timestamp marks when the entity was first created in the system.


createdUserId​

createdUserId: string

User ID of the person who created the entity.

Identifies which user originally created this entity.


lastActivityAt?​

optional lastActivityAt?: number

Timestamp of the last activity on this entity (in milliseconds since epoch).

Used to track when the entity was last interacted with, even if no modifications were made.


lastModifiedDate​

lastModifiedDate: number

Timestamp of when the entity was last modified (in milliseconds since epoch).

This timestamp is updated each time the entity is changed.


lastModifiedUserId​

lastModifiedUserId: string

User ID of the person who last modified the entity.

Identifies which user made the most recent changes to this entity.