v1

latestOpenAPI 3.1.02026-08-06221222240.7 KB
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