---
title: "Set the user's default for every chat that does not set its own mode."
method: PUT
path: "/ai/preferences/suggestions"
tags: ["AI Chat"]
---

# Set the user's default for every chat that does not set its own mode.

`PUT /ai/preferences/suggestions`

## Request

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

## Request body

- SuggestionDefault: The user's default for chats that do not set their own mode.
  - `mode` 'off' | 'ask' | 'always', required: What happens after each answer.

## Response `200`

The saved default

- SuggestionDefault: The user's default for chats that do not set their own mode.
  - `mode` 'off' | 'ask' | 'always', required: What happens after each answer.

## Other responses

- `400`: Invalid mode
- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-20** `79089e9f49ee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/preferences/suggestions/put.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/ab6d5d19e930?raw)
