---
title: "Rewrite"
method: POST
path: "/v1/teams/{team_id}/rewrite"
tags: ["page-rewrite"]
---

# Rewrite

`POST /v1/teams/{team_id}/rewrite`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/teams/{team_id}/rewrite`
- Auth: none declared

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- RewriteAsk
  - `text` string, required
  - `how` string, required
  - `count` integer
  - `about` string

## Response `200`

Successful Response

- Rewritten
  - `texts` string[], required

## Other responses

- `422`: Validation Error

## Changes

> 68 revisions in range; 1 not diffed.

- **2026-10-01** `1163a2ce2baa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/teams/:team_id/rewrite/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
