Skip to main content
POST
Generate a draft agent from a prompt, streamed over SSE

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
prompt
string
required
Required string length: 1 - 6000

Response

text/event-stream of generation progress events, ending with the persisted draft agent.

The response is of type string.