Outcome Tracking

Record a Decision Outcome

Creates a hashed Outcome Record linked to the original Decision Record. Keyed writes are atomically claimed: the same key plus the same canonical outcome payload replays the original outcome, a concurrent request returns 409 in progress, and the same key plus a different payload returns 409 conflict. Authoritative storage and idempotency failures return 503 without acknowledging an untracked outcome.

post/api/decision/{decision_id}/outcome

Request

  • Base URL: https://www.decide.fyi
  • URL: https://www.decide.fyi/api/decision/{decision_id}/outcome
  • Auth: API key in header x-api-key

Path parameters

decision_idstring required

Headers

x-idempotency-keystring
x-request-idstring

Request body

decision_idstring
outcome_statusstring required

Normalized to succeeded, failed, reverted, reviewed, skipped, unknown, or a compact custom status.

action_takenstring
action_executedboolean
target_systemstring
target_object_idstring
mutationstring
external_refstring
decision_record_hashstring
decision_receipt_hashstring
observed_metricsobject
executed_atstring
reported_atstring

Response

Idempotent replay of an existing Decision Outcome

okboolean required
idempotency_statusstring
decision_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.