API Reference
REST API for watches, drift explanation, coverage gates, and portfolio analytics. Machine-readable spec: openapi.json.
Authentication
All endpoints accept Authorization: Bearer dg_live_… or trial header X-DriftGuard-Trial. See Authentication.
Watches
POST /api/watches— create a watchGET /api/watches— list watchesPOST /api/watches/suggest— suggest from URLs or mcp.json
Drift & coverage
POST /api/coverage/assert— fail when deps unwatchedPOST /api/drift/explain— agent remediation hintsGET /api/portfolio/overview— health score & statsPOST /api/preflight— orchestrator gate before agent runs
FuseGuard
POST /v1/fuseguard/trips— ingest fuse trip + correlated alertPOST /v1/fuseguard/snapshots— on-demand snapshot (trip-bound)
Base URL
https://driftguard.org