Information
- License: Apache 2.0
- OpenAPI version:
3.1.0
Backend for the AI Governance Console — multi-jurisdictional AI compliance.
Every response under /api/v1 uses the same envelope:
{"success": true, "data": { ... }}
{"success": false, "error": {"code": "UNAUTHORIZED", "message": "...", "details": {}}}
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.
JWT access token. Not required when the server runs with AUTH_DISABLED.
Security scheme type: http