Events

An event represents a customers action within the business. The event is stored in the source and is used for metering (calculating usage).

Diagram

../_images/events_erd.svg

Table description

Column name

Data type

Description

org_id

INTEGER

An identifier referencing the organization related to this object.

env_id

INTEGER

An identifier referencing the environment related to this object.

branch_id

INTEGER

An identifier referencing the branch related to this object.

transaction_id

VARCHAR

An identifier for looking up or referencing a specific event that occurred.

customer_id

VARCHAR

An identifier referencing a customer. Refers to customers.durable_id.

customer_alias

VARCHAR

An alternative identifier for the customer object to be used within metering.

properties

JSON

A JSON object that contains data about the event it is tied to.

metered_at

TIMESTAMP

A timestamp for when an event should be metered by the business system.

received_at

TIMESTAMP

A timestamp for when an event was logged by the system.