---
title: "Chat Revise"
method: POST
path: "/chat_revise"
---

# Chat Revise

`POST /chat_revise`

## Request

- Base URL: `https://api.yomu.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yomu.ai/chat_revise`
- Auth: API key in header `ACCESS_TOKEN`

Chat endpoint for Revise that acts as a helpful assistant.
Takes either publicId or context, and responds to user messages.

## Request body

- ChatReviseRequest
  - `publicId` string, nullable
  - `context` string, nullable
  - `messages` object[], required: List of message objects with 'role' and 'content' keys
  - `model_id` string, nullable
  - `plan` string, nullable
  - `words_used` integer, nullable
  - `isProduction` boolean, nullable
  - `output_format` string, nullable
  - `input_format` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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