Start a build conversation
Describe what you want in one sentence and the AI builder takes it from there. This is the entry point of an asynchronous, multi-turn conversation.
How it works (the full loop):
POST /api/v1/builder-agentswith yourprompt. It returns immediately withstatus: processingand auuid— the build does not run inline (that would exceed request timeouts), it runs in the background.- Poll
GET /api/v1/builder-agents/{uuid}every ~2-3 seconds. While the builder is thinking it staysprocessing; keep polling. - When it needs input the status becomes
gathering: readmessage(what it’s asking) andquestions(the list to answer). Typical questions: which credentials to use, region/fields, VM size, one-time vs always-on, backup frequency. - Reply with
POST /api/v1/builder-agents/{uuid}/answers(a singlemessage). That call also returnsprocessing— poll again (step 2). The loop repeats until the builder has everything. - The conversation ends in one of two terminal states:
deployed— the app was generated and is running. Thebuilderfield holds the live builder (withpreview_url). Operate it via the /api/v1/builders endpoints.failed— generation could not complete. Start a new conversation with an adjusted prompt.
When it ‘works’: a simple agent is usually deployed after 1-2 question rounds; each round is a few seconds of processing, plus ~1 minute for the final deploy. There is no fixed limit on rounds — keep answering until terminal.
Example: prompt ‘Watch my Zoho CRM leads every 5 minutes’ → processing → gathering (‘Use stored Zoho credentials or paste new ones? Which region?’) → answer → processing → deployed with a preview URL.
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Body
"Watch my CRM for new leads every 5 minutes and expose them"
Optional name. Auto-derived from the prompt if omitted.
Skip the one-time approval gate and build immediately (for automation).
false
Deploy without the pre-deploy review and post-deploy QA (faster, unverified). Self-heal still runs.
false