Skip to main content
POST
Edit

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
document
object
edits
enum<string>[]
Available options:
grammar,
syntax,
simplify,
clarify
length
enum<string>
Available options:
default,
expand,
shorten
tone
enum<string>
Available options:
none,
academic,
admiring,
amused,
angry,
annoyed,
approving,
aware,
confident,
confused,
curious,
disappointed,
disapproving,
eager,
embarrassed,
excited,
fearful,
friendly,
funny,
grateful,
joyful,
loving,
mournful,
neutral,
optimistic,
professional,
relieved,
remorseful,
repulsed,
sad,
worried,
surprised,
sympathetic
tone_level
integer
Required range: 1 <= x <= 10
temperature
number<float>
Required range: 0 <= x <= 1
meta
object
Example:

Response

Successful edit response

document
object
original
object
meta
object
Example: