decisions

Execute a decision workflow

Changed on

Runs a registered workflow definition through the governed execution pipeline. Policy is checked before execution. Emits decision.approved (when approved) and decision.executed webhook events.

post/decisioning/execute

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/decisioning/execute
  • Auth: one of:
    • HTTP bearer
    • API key in cookie session

Request body

workflowIdstring required
recommendationIdstring
isDryRunboolean
isSimulationboolean
approvedBystring
metadataobject

Response

Workflow run created

runobject

Workflow run record

requiresApprovalboolean
policyEvaluationobject

Changes