Skip to main content
post/ai/improvements
Request example
Response
post/ai/improvements

Authorization

x-api-keystringheaderrequired#
The API key to authenticate requests.

2 alternative authorization methods available — see the spec for details.

Body

application/json
aiProviderIdstring#
linestringrequired#

Length: 1–2000

actionenum<string>required#
Options:verbresultshortercustom
requeststring#

Length: max 500

wherestring#

Default: ""

Length: max 200

contextstring#

Default: ""

Length: max 10000

Responses

application/json
The suggested line.
textstringrequired#

Length: min 1

whystringrequired#
addsFactsbooleanrequired#