---
title: "Record an incident outcome so Ezra can update its pattern memory"
method: POST
path: "/api/v1/ezra/learn"
tags: ["Ezra"]
---

# Record an incident outcome so Ezra can update its pattern memory

`POST /api/v1/ezra/learn`

## Request

- Base URL: `http://localhost:5000/api/v1`
- URL: `http://localhost:5000/api/v1/api/v1/ezra/learn`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/scrubbe/apis/scrubbe-api/docs/api/v1/ezra/learn/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `incidentId` string, required
  - `outcome` 'RESOLVED' | 'DEGRADED' | 'NEUTRAL' | 'WORSENED', required

---

[API](https://skmtc.dev/scrubbe/apis/scrubbe-api.md) - [All operations](https://skmtc.dev/scrubbe/apis/scrubbe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrubbe/apis/scrubbe-api/revisions/45bb33d61b7e?raw)
