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.

Scopes

access
OAuth2

API level access to permit operations

read
OAuth2

Allow read level access to stored configs and settings

write
OAuth2

Allow write level access to store configs and settings

access
BearerAuth
read
BearerAuth
write
BearerAuth

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: