---
title: "Turn automatic coding-agent updates on or off."
method: PATCH
path: "/ai/coding-agents/settings"
tags: ["AI Coding Agents"]
---

# Turn automatic coding-agent updates on or off.

`PATCH /ai/coding-agents/settings`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/coding-agents/settings`
- Auth: HTTP bearer

## Request body

- CodingAgentSettingsUpdate: A settings change; omitted fields are left as they are.
  - `auto_update` boolean, nullable

## Response `200`

Settings saved

- CodingAgentSettings: Instance-wide coding-agent settings.
  - `auto_update` boolean, required: Install newer CLI releases in workspaces in use without asking.
  - `updated_at` string, date-time, nullable

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Database error

## Changes

- **2026-11-24** `092dd9dae7a3`: 1 info
  - endpoint added
- **2026-11-24** `4496ed4a25a7`: 1 breaking
  - api path removed without deprecation
- **2026-11-23** `e5c54359463f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/coding-agents/settings/patch.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
