LaraCopilot
LaraCopilot
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.

POST
/agent/generate/{projectId}
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"
    ]
  }
}