Skip to main content
POST
POST /api/optimize-prompt

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required
Required string length: 1 - 100000
kind
enum<string>
required
Available options:
chat,
instruction

Response

Success

text
string
required
Required string length: 1 - 100000
model
string
Maximum string length: 128