Start an agent

Start a new agent on a project with a first message. It shows in your sidebar like any chat. Model and reasoning default to your chat preferences.

POST /api/v1/agents
Bearer token

Body

required application/json
appId string · min length: 1 required

The Bubble app ID, or the Buildprint project ID.

prompt string · min length: 1 required
model string · min length: 1

A chat model ID.

reasoningEffort string · enum

values

  • none
  • low
  • medium
  • high
branches array of string

Branch IDs or names the agent may use. Defaults to all branches you can use.

allowEdits boolean · default: false

Start in Build mode, so the agent may edit the app.

Responses