---
title: "Review Message"
method: PATCH
path: "/api/field/assistant/messages/{message_id}"
tags: ["field"]
---

# Review Message

`PATCH /api/field/assistant/messages/{message_id}`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/field/assistant/messages/{message_id}`
- Auth: none declared

Mark an answer good or wrong, write what it should have said, and optionally keep that as a model answer
for the question it answered.

## Path parameters

- `message_id` integer, required

## Request body

- AssistantReviewRequest
  - `rating` '' | 'good' | 'wrong', nullable
  - `correction` string, nullable
  - `add_to_training` boolean

## Response `200`

OK

- AssistantMessageSchema
  - `id` integer, required
  - `role` string, required
  - `text` string, required
  - `photos` integer, required
  - `rating` string, required
  - `correction` string, required
  - `reviewed_by` string, required
  - `reviewed_at` string, date-time, nullable
  - `training_id` integer, nullable
  - `created_at` string, date-time, required

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-10-30** `2667fc5b11f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/field/assistant/messages/:message_id/patch.md)

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
