Endpoint
Response
bigint counts as strings over JSON.
| Field | Description |
|---|---|
total_decisions | Total decisions ever recorded |
decisions_today | Decisions recorded today (UTC) |
total_verifications | Total verification calls recorded |
valid_verifications | Verifications that returned valid: true |
invalid_verifications | Verifications that returned valid: false — investigate immediately if non-zero |
total_security_events | Total security events recorded |
total_api_calls | Total API calls recorded across all endpoints |
SDK
Dashboard
The Statistics view in the audit dashboard (http://localhost:8081) displays these counts alongside a decision timeline chart.Troubleshooting
All counts show “0” — Postgres is connected but no decisions have been recorded. Verify that executions are actually being made and thataudit_db: true in /health.
total_decisions matches but total_verifications is much lower — Verification is not being called after each execution. Call client.verify() immediately after every POST /execute in your application.
invalid_verifications > 0 — This is a critical signal. Pull the security events to identify which executions are failing verification, retrieve the full attestations, and investigate immediately.