---
title: "Update Slm Check Route"
method: PATCH
path: "/api/v1/agents/{agent_id}/slm-checks/{check_id}"
tags: ["agents"]
---

# Update Slm Check Route

`PATCH /api/v1/agents/{agent_id}/slm-checks/{check_id}`

## Path parameters

- `check_id` string, uuid, required
- `agent_id` string, uuid, required

## Headers

- `Authorization` string, nullable
- `X-Request-ID` string, nullable

## Request body

- SLMCheckUpdate
  - `name` string, nullable
  - `agent_role` string, nullable
  - `kind` 'scope' | 'custom' | 'memory_write' | 'context_summary' | 'doing_more_than_asked' | 'off_purpose' | 'customer_reply' | 'wrong_instruction' | 'unfair_decision' | 'deception', nullable
  - `prompt` string, nullable
  - `stages` string[], nullable
  - `action` 'allow' | 'block' | 'redact' | 'escalate', nullable
  - `enforcement_mode` 'enforce' | 'monitor', nullable
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- SLMCheckRead
  - `id` string, uuid, required
  - `agent_id` string, uuid, required
  - `org_id` string, uuid, required
  - `name` string, required
  - `agent_role` string, nullable
  - `kind` string, required
  - `prompt` string, nullable, required
  - `stages` string[], required
  - `action` string, required
  - `enforcement_mode` string, required
  - `enabled` boolean, required
  - `template_id` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-27** `b20a3bdd6219` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/agents/:agent_id/slm-checks/:check_id/patch.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) · [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) · [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/b20a3bdd6219?raw)
