---
title: "Update Chat Preferences"
method: PATCH
path: "/chat/preferences"
tags: ["chat"]
---

# Update Chat Preferences

`PATCH /chat/preferences`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/chat/preferences`
- Auth: none declared

Merge mutation-approval toggles into the parent's chat preferences.

`true` adds the mutation to the whitelist, `false` removes it. Callers
only send the keys they know about - existing entries are preserved.

## Request body

- UpdateChatPreferencesRequest
  - `auto_approve_mutations` object, required

## Response `200`

Successful Response

- UpdateChatPreferencesResponse
  - `success` boolean, required
  - `chat_preferences` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
