Skip to content

Overview

Backend for the AI Governance Console — multi-jurisdictional AI compliance.

  • Inventory of AI systems with full metadata version history
  • Jurisdiction detection and risk classification (global baseline + regional overlays)
  • Policy-as-code checks evaluated through Open Policy Agent
  • Evidence packages (PDF + JSON) generated asynchronously and stored in S3
  • Dashboards aggregating compliance by jurisdiction and risk tier

Response format

Every response under /api/v1 uses the same envelope:

{"success": true, "data": { ... }}
{"success": false, "error": {"code": "UNAUTHORIZED", "message": "...", "details": {}}}

Authentication

Authenticate with POST /api/v1/auth/login, then send Authorization: Bearer <token>. Roles: admin (everything), risk_officer (inventory + assessments), viewer (read-only).

Servers may run with AUTH_DISABLED=true, in which case no token is required and every request is attributed to a system principal with the admin role. Check GET /api/v1/auth/me to see which mode a deployment is in.

Information

JWT access token. Not required when the server runs with AUTH_DISABLED.

Security scheme type: http