v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
pipeline

Create Agent Review Run

Trigger a "Review Pipeline" run as a DETERMINISTIC fan-out of per-deal replans.

The old behavior was one survey-then-act pipeline_agent_review SDK session that called list_deals_needing_attention itself and acted on up to 10 deals. With the deal_agent collapsed to async replan/initial runs, there is no agent_review run-mode anymore. Instead we do the deal selection server-side here — reusing the same warmest-first list_deals_needing_attention query the tool used — and enqueue one ordinary pipeline_deal_replan job per selected deal (same token-rotation + supersede semantics as the per-deal Replan button). This removes the multi-deal agent loop while preserving "review the warm deals and refresh their plans" as the user-visible outcome.

post/api/pipeline/agent-review

Query parameters

user_idstring nullable
org_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/pipeline/agent-review:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}