Skip to main content
GET
Get a single Safe House evaluation

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

evaluation_id
string
required

Response

Evaluation record.

Row from sh_evaluations — one screening decision (inbound or outbound). threats and detector_scores depend on detector config.

id
string
agent_id
string
session_id
string | null
mode
string
surface
string | null
verdict
enum<string>
Available options:
pass,
warn,
quarantine,
block
threats
object[] | null
overall_risk
number | null
detector_scores
object | null
detection_sources
array | null
session_multiplier
number | null
duration_ms
integer | null
request_id
string | null

The gateway's per-proxied-request id (ADR-065 mnemom_request_id), when the gateway wrote this row with a request-scoped logger. Null on rows written before migration 548 or by a caller with no request context.

turn_index
integer | null

The turn's ordinal within its conversation, when known at the write site. Mirrors integrity_checkpoints.turn_index (migration 384).

carried
boolean

true = a replay of a verdict this session already recorded for the same content on the same surface (a carried re-flag, not a fresh firing); false = a fresh screen. Count detections with carried = false (database/migrations/550).

first_evaluation_id
string | null

On a carried row: the id of the fresh sh_evaluations row whose verdict it carries (soft pointer, no FK). NULL on fresh rows, or when the first row id is unknown.

created_at
string<date-time>