Skip to main content
POST
Plan and apply an edit from a natural-language message

Body

application/json
session
string
siteId
string
componentsManifest
siteCapabilities
sitePurpose
string
siteHosting
string
businessContext
siteContext
locale
string
slug
string
message
string
modelKey
enum<string>
Available options:
fast,
balanced,
reasoning,
codex
provider
enum<string>
Available options:
openai,
anthropic,
gemini
activeBlockId
string
activeBlockType
string
activeEditablePath
string
executionMode
enum<string>
Available options:
auto,
plan_only,
apply_pending_plan,
discard_pending_plan,
continue_chain
pendingPlanId
string
continuationChainId
string

Response

200

Default Response