---
title: "Update Model Risk By Id"
method: PATCH
path: "/modelRisks/{id}"
tags: ["Model Risks"]
---

# Update Model Risk By Id

`PATCH /modelRisks/{id}`

## Path parameters

- `id` integer, required

## Request body

- ModelRiskInput
  - `risk_name` string, required
  - `risk_category` 'Performance' | 'Bias & Fairness' | 'Security' | 'Data Quality' | 'Compliance', required
  - `risk_level` 'Low' | 'Medium' | 'High' | 'Critical', required
  - `status` 'Open' | 'In Progress' | 'Resolved' | 'Accepted'
  - `owner` string, required — Name or identifier of the risk owner.
  - `target_date` string, date, required — Next review / target date.
  - `description` string
  - `mitigation_plan` string
  - `impact` string
  - `likelihood` string
  - `key_metrics` string
  - `current_values` string
  - `threshold` string
  - `model_id` integer, nullable — ID of the model inventory entry this risk is linked to.
  - `is_demo` boolean

## Response `200`

Success

- object
  - `message` string
  - `data` ModelRiskResponse
    - `id` integer
    - `risk_name` string
    - `risk_category` 'Performance' | 'Bias & Fairness' | 'Security' | 'Data Quality' | 'Compliance'
    - `risk_level` 'Low' | 'Medium' | 'High' | 'Critical'
    - `status` 'Open' | 'In Progress' | 'Resolved' | 'Accepted'
    - `owner` string
    - `target_date` string, date
    - `description` string
    - `mitigation_plan` string
    - `impact` string
    - `likelihood` string
    - `key_metrics` string
    - `current_values` string
    - `threshold` string
    - `model_id` integer, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-04-21** `55cdc040840c` — 6 breaking, 11 info
  - added the new required request property `owner`
  - added the new required request property `risk_category`
  - added the new required request property `risk_level`
  - added the new required request property `risk_name`
  - …13 more
- **2026-04-05** `ac49160fcab0` — 1 info
  - api operation id `updateModelRiskById` removed and replaced with `modelRisks_updateModelRiskById`
- **2026-04-05** `c419b1e72a65` — 1 breaking, 15 warning, 8 info
  - removed the media type `application/json` for the response with the status `200`
  - removed the request property `currentValues`
  - removed the request property `description`
  - removed the request property `impact`
  - …20 more
- **2025-09-20** `ef74bb5c7cf6` — 1 info
  - endpoint added
- **2025-01-22** `ed48b7196725` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/modelRisks/:id/patch.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/55cdc040840c/schema)
