> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aient.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# problem.remediation_decision_recorded

> Webhook schema for ai.aient.problem.remediation_decision_recorded

# ai.aient.problem.remediation\_decision\_recorded

> Generated from `@aient/events`. Do not edit this page by hand.

A remediation admission decision was recorded for a problem.

## Delivery Contract

| Field            | Value                                                                                     |
| ---------------- | ----------------------------------------------------------------------------------------- |
| Visibility       | Tenant-selectable public event                                                            |
| Topic            | `v1.events.problems`                                                                      |
| Bounded context  | `problem`                                                                                 |
| Source           | `https://aient.ai/api/organisations/{organisationId}`                                     |
| Subject          | `problems/{problemId}/remediation-decisions/{decisionId}`                                 |
| Schema ID        | `sch_01KT542Q05SG5DDF3P83RRP553`                                                          |
| Immutable schema | `https://registry.aient.ai/schemas/sch_01KT542Q05SG5DDF3P83RRP553.json`                   |
| Version alias    | `https://registry.aient.ai/events/ai.aient.problem.remediation_decision_recorded/v1.json` |

## Payload Fields

| Field                          | Required | Type     | Enum                                                          |
| ------------------------------ | -------- | -------- | ------------------------------------------------------------- |
| `action`                       | yes      | `string` | -                                                             |
| `decision`                     | yes      | `string` | `allowed`, `skipped`, `blocked`, `rejected`, `already_active` |
| `decisionId`                   | yes      | `string` | -                                                             |
| `existingRemediationAttemptId` | no       | `string` | -                                                             |
| `nextReconsiderAt`             | no       | `string` | -                                                             |
| `organisationId`               | yes      | `string` | -                                                             |
| `problemId`                    | yes      | `string` | -                                                             |
| `reason`                       | yes      | `string` | -                                                             |
| `remediationAttemptId`         | no       | `string` | -                                                             |
| `stage`                        | no       | `string` | -                                                             |
| `workRequestId`                | no       | `string` | -                                                             |

## Privacy Notes

ID-first customer-facing payload. Do not include secrets, tokens, raw telemetry, prompts, logs, or customer content.

## Lifecycle Notes

Emitted after the owning bounded-context state transition commits through its Restate handler.

## Compatibility Notes

Backward-compatible schema changes may add optional fields; removing fields, changing field types, or removing enum values requires a new schema revision and migration plan.

## Example CloudEvent

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "data": {
    "action": "start_remediation",
    "decision": "allowed",
    "decisionId": "decision_example",
    "existingRemediationAttemptId": "existing_remediation_attempt_example",
    "nextReconsiderAt": "2026-04-25T12:00:00.000Z",
    "organisationId": "11111111-1111-4111-8111-111111111111",
    "problemId": "problem_example",
    "reason": "example-reason",
    "remediationAttemptId": "remediation_attempt_example",
    "stage": "example-stage",
    "workRequestId": "work_request_example"
  },
  "datacontenttype": "application/json",
  "dataschema": "https://registry.aient.ai/schemas/sch_01KT542Q05SG5DDF3P83RRP553.json",
  "id": "evt_01J8X7AKZP4N6QHF2T1Y3R5VAA",
  "organisationid": "11111111-1111-4111-8111-111111111111",
  "source": "https://aient.ai/api/organisations/11111111-1111-4111-8111-111111111111",
  "specversion": "1.0",
  "subject": "problems/problem_example/remediation-decisions/decision_example",
  "time": "2026-04-25T12:00:00.000Z",
  "type": "ai.aient.problem.remediation_decision_recorded"
}
```
