Skip to main content
POST
Generate a plan (stream)

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Body

application/json
scope
object[]
required
Minimum array length: 1
goals
string
required
Minimum string length: 1
goal
string
mode
string
scanType
string
constraints
string[]
Maximum array length: 50
Minimum string length: 1

Response

NDJSON stream: chunk, final and error frames.