Part of CLPI Phase 1: Policy Engine. The Policy API is the programmatic interface to policy evaluation.
/v1/* endpoint, see the API overview and Errors.
Endpoints
POST /policies/evaluate
Evaluate a caller-supplied list of tools against the policy derived from an agent’s published canonical alignment card. Returns a verdict, any violations/warnings/card gaps, and a coverage report.
POST /policies/evaluate/historical
Replay an agent’s most recent traces (up to 200) against its current canonical card, or against a hypothetical
card_json, to see which past tool calls would violate today’s policy.A related endpoint,
POST /teams/recommend-policy, generates a starting policy from a risk forecast rather than evaluating one. See Policy Management → Using policy recommendations.SDK usage
@mnemom/sdk does not yet include a dedicated helper for policy evaluation. Call /v1/policies/evaluate (or /evaluate/historical) directly over HTTP:
See also
- Policy Engine — how policies are evaluated and enforced
- Policy Management Guide — creating, testing, and publishing a card’s policy
- CI/CD Policy Gates — gating a pipeline on
mnemom card evaluate - Alignment cards — where agent and org policy is declared