---
title: "Save Correction Preference"
method: POST
path: "/chat/preference-suggestions/{suggestion_id}/save"
tags: ["Chat preference suggestions"]
---

# Save Correction Preference

`POST /chat/preference-suggestions/{suggestion_id}/save`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/chat/preference-suggestions/{suggestion_id}/save`
- Auth: OAuth 2 (password, token URL `api/login`)

Store a preference the user had turned down, and clear the refusal.
A body sent by a bundle from before this change is ignored.

## Path parameters

- `suggestion_id` string, required

## Response `200`

Successful Response

- CorrectionPreferenceSuggestionResponse: One line of the chat card. `status` drives everything the card shows: `saved` gets « Annuler », `declined` gets the date it was turned down and « Enregistrer ». `destination` is the hidden grading-rule tag the memory got. Kept for older native bundles; the card no longer shows it (EXC-728). `duplicate` never reaches the API: those suggestions are recorded but not shown, so the card asking about a batch simply gets fewer lines back than it had ids.
  - `id` string, required
  - `title` string, required
  - `statement` string, required
  - `status` string, required
  - `destination` 'grading_rule' | 'memory', required
  - `declined_at` string, date-time, nullable, required
  - `replaced` ReplacedMemoryResponse[], required
    - `statement` string, required
    - `reason` 'superseded' | 'evicted', required
  - `removed` 'deleted' | 'superseded' | 'evicted' | 'disabled', nullable

## Other responses

- `404`: Resource not found
- `409`: Business rule violated
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-09-30** `518c1e6178a3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/chat/preference-suggestions/:suggestion_id/save/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
