Skip to main content

Evaluate Detailed

Same as the standard evaluate endpoint, but returns a detailed trace of the evaluation — which policies were checked, through which access paths, and why the decision was made.

POST /policy-srv/v1/evaluate/detailed
Console only

This endpoint requires console authentication (JWT), not an API key. It's designed for debugging in the AuthzX Console's Access Checker tool, not for production use in your application.

Request

Same request body as Evaluate Access.

Headers

HeaderValue
AuthorizationBearer JWT_TOKEN
Content-Typeapplication/json

Response

Returns the same allowed, reason, policy_id, and access_path fields, plus a detailed evaluation trace showing:

  • All policies that were evaluated
  • Which access path each policy was checked through (direct, role, group)
  • Which policy matched (or why none matched)
  • The full decision chain

When to use

  • Debugging — "Why was Alice denied access to this document?"
  • Auditing — Understand the full evaluation path
  • Testing — Verify your authorization model works as expected

Use the Access Checker in the AuthzX Console for an interactive UI around this endpoint.