Skip to main content
POST
Start the onboarding agent and get a stream id

Body

application/json
session
string
message
string
locale
string
mode
enum<string>

migrate scrapes a public URL; integrate wires the SDK into an existing codebase.

Available options:
create,
migrate,
integrate
useCliAgent
boolean

Spawn the Claude CLI on the host instead of the Agent SDK. Refused with 403 unless AGENT_CLI=1.

Response

{ streamId } — connect GET /sites-agent/stream to run it.