Line

You are reading the unreleased docs (next). See latest (v0.9)

/api/plan

6 routes under /api/plan.

Cockpit server REST reference, next.

All routes sit below the Cockpit server's session gate (app.use('/api', auth.requireSession)) except /api/health. Generated from the real route table in ui/server/src.

GET /api/plan/context#

Source: ui/server/src/planApi.mjs.

POST /api/plan/impact#

Source: ui/server/src/planApi.mjs.

POST /api/plan/propose#

Source: ui/server/src/planApi.mjs.

POST /api/plan/refactor-preview#

Inspector "Change" tab: a dry-run preview of a mechanical refactor (move/rename), never writes.

Source: ui/server/src/planApi.mjs.

POST /api/plan/run#

Starting work is the one mutation here. If the session gate did not run, refuse rather than guess.

Source: ui/server/src/planApi.mjs.

POST /api/plan/validate#

Source: ui/server/src/planApi.mjs.