Prompt
Optimize a prompt
Rewrite a draft prompt into a clearer, better-structured version using an LLM.
post/prompts/optimize
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cookie_namestring nullable
Request body
Example request
{
"prompt": "write a short email to my team about the deadline"
}Response
Successful Response
Example response
{
"content": "Write a concise email to my team reminding them of the project deadline on Friday."
}Changes
No recorded changes to this operation across all 1 revision of this API.