---
title: "Rephrase a message"
method: GET
path: "/messages/{message_id}/rephrase"
tags: ["Message"]
---

# Rephrase a message

`GET /messages/{message_id}/rephrase`

Rephrase a message's content in the requested style.

## Path parameters

- `message_id` integer, required — ID of the message to rephrase.

## Query parameters

- `style` 'same' | 'short' | 'long', required
- `cookie_name` string, nullable

## Response `200`

Successful Response

- Translation
  - `content` string, required — The translated or rephrased text.

## Other responses

- `401` — Missing or invalid authentication.
- `403` — No access to the message's chat, or usage budget exceeded.
- `404` — Message, its chat, or owning user does not exist.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/revisions/b53e89b98c2b/schema)
