Policy

Explain policy evaluation reasoning

Changed on
post/api/v1/policy/explain

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/policy/explain
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Request body

job_idstring
topicstring
tenantstring
org_idstring
team_idstring
capabilitystring
risk_tagsstring[]
contextobject
labelsobject

Response

Explanation result

decision'ALLOW' | 'DENY' | 'QUARANTINE' | 'REQUIRE_APPROVAL'
reasonstring
rule_idstring nullable
constraintsobject nullable

Changes

    • info

      added the non-success 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