---
title: "Edit background wait"
method: PATCH
path: "/chat/triggers/{uuid}"
tags: ["triggers"]
---

# Edit background wait

`PATCH /chat/triggers/{uuid}`

## Request

- Base URL: `https://api.rhythms.ai`
- URL: `https://api.rhythms.ai/chat/triggers/{uuid}`
- Auth: none required

Edit an owned pending wait with the expected revision; a started continuation cannot be edited. MCP and Internal service calls require the signed update_chat_wait operation; authenticated WebUI user calls use wait policy.

## Path parameters

- `uuid` string, required

## Request body

- object
  - `expected_revision` number, required: Revision last read by caller
  - `changes` object, required
    - `settings` object: Partial typed settings
    - `detector` object: Complete typed detector

## Other responses

- `400`: Bad Request - Invalid parameters or malformed request
- `401`: Unauthorized - Invalid or missing authentication
- `403`: Forbidden - User lacks permission to access this resource
- `404`: Not Found - Resource does not exist
- `422`: Unprocessable Entity - Invalid request parameters or validation errors
- `429`: Too Many Requests - Rate limit exceeded
- `500`: Internal Server Error - Unexpected server error

## Changes

- **2026-10-15** `7ed8cef9d8e9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/changes/chat/triggers/:uuid/patch.md)

---

[API](https://skmtc.dev/rhythms/apis/rhythms-params-in-body.md) - [All operations](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/llms.txt) - [OpenAPI document](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/revisions/3776068254ff?raw)
