Skip to main content
Safety API

API Reference

Guardian API

Metrics, trends, insights, warnings, dashboard, and TEE telemetry endpoints.

Metrics

Time-windowed metric snapshots across all 23 Guardian metric types.

GET
/api/guardian/metrics

Fetch metric snapshots for a given time window

GET
/api/guardian/tee/metrics

Aggregate TEE action and task metrics

GET
/api/guardian/tee/actions

Recent action log entries (filterable by since/limit)

GET
/api/guardian/tee/tasks

Recent task log entries

Trends

Detected trends across all metric windows.

GET
/api/guardian/trends

All active trends with classification, z-score, change %

Insights

AI-generated safety insights.

GET
/api/guardian/insights

Recent insights (filterable by severity, category, actionable)

Dashboard

Assembled dashboard payload.

GET
/api/guardian/dashboardDashboard

Full dashboard payload: risk, warnings, insights, trends, metrics