Adventure Labs Logo
Scout Docs

Heartbeats

Table for recording device heartbeat timestamps to monitor device connectivity

Column NameData TypeConstraints
idbigintNOT NULL
created_attimestamp with time zoneDEFAULT now() NOT NULL
timestamptimestamp with time zoneNOT NULL
device_idbigintNOT NULL

Security Policies (RLS)

This table has Row Level Security (RLS) enabled with the following policies:

  • Read Access: Device API key that owns the heartbeat OR users with view role in same herd
  • Create/Update/Delete: Device API key that owns the heartbeat OR users with edit role in same herd

On this page