---
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

---

[API](https://skmtc.net/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.net/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/versions/c764f0a64a5e/schema)
