Skip to main content
POST
Start an agent run and get a stream id

Body

application/json
siteId
string
required

Site this session belongs to, when the orchestrator hosts more than one.

message
string
required
session
string

Editor session key. Scoped with siteId into the key the state store uses.

slug
string
model
string
locale
string
activeBlockId
string
activeBlockType
string
activeEditablePath
string
sitePurpose
string

Response

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