v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
pipeline

Update Deal Goal

Update a deal's goal anchor and trigger a goal_changed replan.

Phase 2: the goal jsonb is the success measure the pipeline agent reads on every replan. Editing it forces a fresh strategy + draft pass.

post/api/pipeline/deals/{deal_id}/goal

Query parameters

user_idstring nullable
org_idstring nullable

Request body

summarystring nullable
service_idsstring[]
targetingstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/pipeline/deals/{deal_id}/goal:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}