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

# Update Chat Preferences

`PATCH /api/platform/v1/chat/preferences`

## Request

- Base URL: `https://docs.amdahl.ai`
- URL: `https://docs.amdahl.ai/api/platform/v1/chat/preferences`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Save the calling user's Chat settings for this workspace: their default run-config knobs and/or their agent block list (the agents the Master may not delegate to). Use when the user changes a control in the Chat settings surface. A top-level PATCH — only the keys you send change; the block list applies to new Chat turns server-side.

## Request body

- object
  - `run_config` object: Default Chat run knobs. Replaces the stored run_config wholesale when sent.
    - `depth` 'quick' | 'standard' | 'deep'
    - `actions_allowed` string[]
    - `on_question` 'pause' | 'auto' | 'none'
    - `external_search` boolean
    - `include_divergence` boolean
  - `blocked_agents` string[]: Agent slugs / refs the Master may NOT delegate to for this user. Empty = every agent usable.

## Response `200`

OK

- object
  - `data` unknown

## Other responses

- `400`: Invalid input - failed schema validation
- `401`: Authentication required
- `403`: Forbidden - missing scope or role
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/amdahl/apis/amdahl-platform-api.md) · [All operations](https://skmtc.dev/amdahl/apis/amdahl-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/amdahl/apis/amdahl-platform-api/revisions/d4eee33e2472?raw)
