Planning from an idea
Describe an idea in a planning session. Idea comparison is requested when creating a session with mode: "plan" and metadata.ideaPlannerVersion: 1. Ordinary planning sessions keep their existing format.
A validated idea proposal offers A, B and C with objectives, trade-offs, proposed work and success criteria. Resources, timing and recommendations may remain uncertain. Selecting an approach previews its proposed changes; it does not create work or complete tasks.
Inspect and review
These authenticated endpoints require the active workspace through X-Workspace-Id and an active, standard session owned by the caller. Paths are relative to /api/v1.
| Method | Path | Purpose |
|---|---|---|
| GET | /ai/sessions/:sessionId/plan-proposal | Inspect the current completed planning response. |
| GET | /ai/sessions/:sessionId/plan-proposal/:messageId | Inspect a completed response, including a historical preview. |
| POST | /ai/sessions/:sessionId/plan-proposal/implement | Admit review of the displayed revision and selected approach. |
The preview's data contains the source message and run identifiers, revision, sessionId, executionMode and isCurrent. Idea proposals also contain ideaPlan and displayContent. ideaPlan contains the understood intent, context coverage, missing information, three alternatives and a recommendation that may be undecided. A null preview means no eligible completed proposal is available.
Use the revision the person inspected. A historical preview has isCurrent: false and cannot authorize a new action.
The POST body contains:
| Field | Requirement |
|---|---|
sourceMessageId | UUID of the inspected assistant response. |
revision | The server's 64-character lowercase hexadecimal revision. |
alternativeKey | A, B or C; required for an idea proposal. Omit for an ordinary plan. |
idempotencyKey | Nonempty request identity, at most 200 characters. Reuse for an exact retry. |
Missing or invalid idea selection returns 400. A changed revision or a request identity reused for a different selection returns 409. An exact admitted retry returns the same run instead of starting another.
Preparing work
Idea review uses approval mode. Preparation continues through the normal conversation and tool approval flow. Existing Project and Task references are checked again before admission. Access to read an entity does not grant permission to modify it.
Review admission is not transactional application of every proposed entity, executing tasks, or permission to run a Chain. Inspect requested material changes through the approval flow. Continue the conversation to revise, combine or reject approaches; a revised plan needs a fresh review.