Skip to main content
POST
Suggest a rewrite of one line

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
line
string
required
Required string length: 1 - 2000
action
enum<string>
required
Available options:
verb,
result,
shorter,
custom
aiProviderId
string
request
string
Maximum string length: 500
where
string
default:""
Maximum string length: 200
context
string
default:""
Maximum string length: 10000

Response

The suggested line.

text
string
required
Minimum string length: 1
why
string
required
addsFacts
boolean
required