Adventure Labs Logo
Scout Docs

Artifacts

Table for storing file artifacts associated with sessions and devices

Column NameData TypeConstraints
idbigintNOT NULL
created_attimestamp with time zoneDEFAULT now() NOT NULL
file_pathtextNOT NULL
session_idbigint
timestamp_observationtimestamp with time zone
modalitytext
device_idbigintNOT NULL
updated_attimestamp with time zoneDEFAULT now()
timestamp_observation_endtimestamp with time zoneDEFAULT now() NOT NULL

Security Policies (RLS)

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

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

On this page