Adventure Labs Logo
Scout Docs

Observations

Session observations with optional action tracking

Column NameData TypeConstraints
idbigintNOT NULL
session_idbigintNOT NULL
descriptiontextNOT NULL
action_requiredtext
action_completebooleanDEFAULT false NOT NULL
timestamptimestamp with time zone
inserted_attimestamp with time zoneDEFAULT clock_timestamp() NOT NULL
updated_attimestamp with time zoneDEFAULT now()

Security Policies (RLS)

RLS enabled. Herd scope: Herd from observations.session_id → get_herd_id_by_session_id.

Operationhas_herd_ability ability keyOther paths
SELECTsessions.read—
INSERTsessions.write—
UPDATEsessions.write—
DELETEsessions.write—

Platform superadmin: FOR ALL bypass where defined.

On this page