Skip to main content
POST
/
api
/
agents
/
accomplish
Plan and execute a workflow in one call
curl --request POST \
  --url http://localhost:3001/api/agents/accomplish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "goal": "<string>",
  "context": {},
  "preferredExecutor": "n8n",
  "dryRun": true
}
'
{
  "success": true,
  "goal": "<string>",
  "result": {},
  "execution": {}
}

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
preferredExecutor
enum<string>
Available options:
n8n,
langgraph
dryRun
boolean

Response

OK

success
boolean
required
goal
string
required
result
object
execution
object