Skip to main content
Policy snapshots capture the full policy configuration at the time a decision was made. They enable forensic replay and audit investigations — you can see exactly what rules, policies, and weights were active when a specific decision was rendered.

GET /api/v1/policy-snapshots

Retrieve a policy snapshot by its version hash. The hash is stored on each decision trace.

Query Parameters

ParameterTypeRequiredDescription
hashstringYesPolicy version hash (from the decision trace’s policyVersionHash field)

Example

curl "https://playground.kaireonai.com/api/v1/policy-snapshots?hash=abc123def456" \
  -H "X-Tenant-Id: my-tenant"

Response

{
  "hash": "abc123def456",
  "capturedAt": "2026-03-18T10:00:00.000Z",
  "qualificationRules": [ ... ],
  "contactPolicies": [ ... ],
  "guardrailRules": [ ... ],
  "arbitrationWeights": { ... },
  "flowConfig": { ... }
}
Use this endpoint alongside Decision Traces to fully reconstruct why a specific decision was made.