Skip to main content
POST
Plan a workflow from a goal

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Body

application/json
goal
string
required
context
object
constraints
string[]
autoExecute
boolean

Response

OK

success
boolean
required
goal
string
required
flowspec
object
required
reasoning
string
required
complexity
string
workflowId
string
execution
object
executionError
string
message
string