latestOpenAPI 3.1.02026-08-19222223242.0 KB

3274aa9b0e51

Agents

Improve Prompt

Use an LLM to rewrite / improve a user-provided agent prompt.

post/v1/agents/improve-prompt

Request body

promptstring required
context'conversation_prompt' | 'general_instructions' | 'sales_script' | 'business_description' | 'business_offer' | 'filtering_prompt'

Response

Successful Response

improved_promptstring required