Append a lesson to the SLOE OS lessons inbox for the consolidator pipeline (dedupe -> skills regen -> guardrail promo...
/v1/abilities/lesson.recordAppend 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.
Request body
Section titled “Request body”inputLessonRecordInputrequiredShow 9 properties
titlestringrequiredcategorystringrequiredAllowed values:engineering,ops,business,architecture,securitytriggersstring[]optionalKeywords that should surface this lesson later
severitystringoptionalAllowed values:critical,high,medium,lowcontextstringoptionalWhat you were doing when this happened
lessonstringrequiredThe non-obvious insight
fixstringoptionalThe specific fix or action to take
tagsstring[]optionalreusablebooleanoptional
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.