Skip to main content
POST
/
api
/
agents
/
accomplish
/
preview
Preview a workflow without executing
curl --request POST \
  --url http://localhost:3001/api/agents/accomplish/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "goal": "<string>",
  "context": {}
}
'
{
  "success": true,
  "preview": {},
  "flowspec": {},
  "reasoning": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
goal
string
required
context
object

Response

OK

success
boolean
required
preview
object
required
flowspec
object
required
reasoning
string