decisions

Record the outcome of a decision run

Changed on

Logs the final outcome (success, partial, failed, or cancelled) for a completed workflow run. Emits a decision.outcome_recorded webhook event.

post/decisioning/runs/{runId}/outcome

Request

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

Path parameters

runIdstring required

Request body

outcome'success' | 'partial' | 'failed' | 'cancelled' required
summarystring
metadataobject

Response

Outcome recorded

runIdstring
outcome'success' | 'partial' | 'failed' | 'cancelled'
recordedBystring
recordedAtinteger

Changes