Skip to main content
POST
Rewrite

Authorizations

X-API-Key
string
header
required

Send X-API-Key: sk_live_<your_key>. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use Authorization: Bearer sk_live_<your_key>.

Body

application/json
text
string
required
Required string length: 1 - 20000
prompt
string
required

Instruction for the rewrite (e.g. 'make it more formal').

Required string length: 1 - 2000

Response

Successful Response