Skip to main content

Optimize a Prompt

Optimize a Prompt

Request Body REQUIRED
messages object[] REQUIRED
role REQUIRED
content string REQUIRED
Responses
200

Default Response

Schema OPTIONAL
object[]
role
content string
POST /api/v1/prompt/optimize
Body
Loading...
http://localhost
curl -L -X POST 'http://localhost/api/v1/prompt/optimize' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'