Skip to main content
GET
Aggregate Safe House evaluation stats

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Query Parameters

days
integer
default:7
Required range: x <= 90

Response

Per-tenant verdict counts + threat-type histogram over the window, scoped to the caller's org. Empty window returns zeroed counts (never 500).

verdicts
object

Count of evaluations by verdict (pass/warn/quarantine/block).

threat_types
object[]

Top threat types by occurrence over the window.

period_days
integer
total_messages
integer

Total evaluations in the window.