Goal

LLM-assisted decomposition of a node into children (best-effort)

Never throws when no LLM is configured — returns { proposed: [], applied: false, reason: 'llm_not_configured' } so CRUD/import keep working without an LLM key.

post/api/goal/decompose

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/goal/decompose
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

node_idinteger required
available_rolesstring[]
size'small' | 'medium' | 'large'

Advisory decomposition granularity.

Response

Decomposition result.

proposedobject[]
appliedboolean
reasonstring
objectiveRunIdstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.