Policy

Compute per-rule quality analytics (false positive rates, approval fatigue)

Changed on

Analyzes policy rule quality over a time range. Returns per-rule metrics including hit counts, override rates, approval latency, and daily trends. Read-only — no side effects.

post/api/v1/policy/analytics

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/policy/analytics
  • Auth: API key in header X-API-Key

Request body

fromstring date-time required

Start of analysis window (RFC3339)

tostring date-time required

End of analysis window (RFC3339, max 7 days from 'from')

rule_filterstring

Optional rule ID to restrict analysis to a single rule

Response

Per-rule analytics

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status