Skip to main content
POST
Enhance an agent system prompt with AI

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
prompt
string
required

The draft system prompt to improve.

Required string length: 1 - 20000
agent_type
enum<string>
default:chatbot

The kind of agent the prompt is for; tunes the rewrite.

Available options:
chatbot,
router,
voice,
workflow,
custom

Response

200 - application/json

The enhanced prompt

data
object
meta
object