Skip to main content
Run the decision engine against a mandate + a normalized action. Returns the verdict your wrapper should act on.

Request

Response (200 OK)

Possible decision kinds

  • allow — proceed
  • allow_with_log_extra — proceed; emit extra audit
  • allow_with_redact — proceed; mask listed fields
  • allow_with_downgrade — proceed with narrower scope
  • allow_with_shadow — proceed; mark as shadow-mode
  • defer — proceed; queue for batch review
  • negotiate — return a suggested narrower request to the agent
  • substitute — swap in a different action; response includes replacement_action
  • approval — block; request lands in the approval queue
  • step_up — block until step-up auth completes
  • deny — block; reason + message included
  • deny_with_reroute — block; reroute_card_id tells the agent what to try instead

Status codes

  • 200 — allow / allow_with_*
  • 202 — defer / negotiate / substitute
  • 428 — approval / step_up
  • 403 — deny / deny_with_reroute