Skip to content
View as Markdown

Record a settled decision with its WHY (and optional supersedes: D-NNN).

POST/v1/abilities/decision.record

Record a settled decision with its WHY (and optional supersedes: D-NNN). Returns a citable per-tenant id (D-001…). Agents should record decisions the OPERATOR has settled — never their own preferences — and cite ids instead of re-litigating.

Required
Yes
Content type
  • application/json
  • inputDecisionRecordInputrequired
    Show 3 properties
    • titlestringrequired

      The decision, one line

    • whystringrequired

      The reasoning — a decision without its why is unmaintainable

    • supersedesstringoptional

      Optional D-NNN this replaces

  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.