Run Vibe coding flow and stream progress updates
POST/generate-code/v2/generate
Starts a Vibe coding flow that generates a new Pulse App based on a user prompt.
The response is a Server-Sent Events (SSE) stream where each event contains a JSON-encoded message describing progress, tool calls, updates, or final outputs.
Each SSE message is formatted as:
data: <JSON>
followed by a blank line.
Request
Responses
- 200
- 400
- 401
- 500
Streaming Server-Sent Events (SSE) with progress and final result
Bad Request (missing or invalid input)
Unauthorized
Internal Server Error