API ReferenceEndpointsAgent
Continue project
Iterates on an existing project with a follow-up prompt. The agent has full conversation context from previous prompts and can modify existing files. Streams progress back as Server-Sent Events.
Authorization
http AuthorizationBearer <token>
In: header
Path Parameters
projectId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://builder.laracopilot.com/api/v1/agent/generate/string" \ -H "Content-Type: application/json" \ -d '{ "prompt": "stringstri" }'{}{
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}Create project
Generates a new Laravel project from a natural-language prompt and streams progress back as Server-Sent Events. Save the `project_id` returned in the first event — it is required for follow-up prompts and status polling.
Get project status
Returns the current status, generated app URL, and project metadata. Returns standard JSON (not SSE) and is safe to poll.