---
title: "Update Agent Config"
method: PATCH
path: "/api/monitoring-chat/{chat_id}/config"
---

# Update Agent Config

`PATCH /api/monitoring-chat/{chat_id}/config`

Update monitoring agent notification channel and/or eviction hours.

## Path parameters

- `chat_id` string, required

## Request body

- UpdateAgentChannelRequest
  - `notification_channel_id` string, nullable
  - `eviction_hours` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/3898f654afba/schema)
