Skip to content
View as Markdown

Append a lesson to the SLOE OS lessons inbox for the consolidator pipeline (dedupe -> skills regen -> guardrail promo...

POST/v1/abilities/lesson.record

Append a lesson to the SLOE OS lessons inbox for the consolidator pipeline (dedupe -> skills regen -> guardrail promotion). Append-only; does NOT write lessons.json/skills/guardrails directly. Auth-required.

Required
Yes
Content type
  • application/json
  • inputLessonRecordInputrequired
    Show 9 properties
    • titlestringrequired
    • categorystringrequired
      Allowed values: engineering, ops, business, architecture, security
    • triggersstring[]optional

      Keywords that should surface this lesson later

    • severitystringoptional
      Allowed values: critical, high, medium, low
    • contextstringoptional

      What you were doing when this happened

    • lessonstringrequired

      The non-obvious insight

    • fixstringoptional

      The specific fix or action to take

    • tagsstring[]optional
    • reusablebooleanoptional
  • 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.