v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
prospecting

List Pending Deals

List deals pending user review (for AIZoneCard batch approval).

Returns ALL deals in review_state='pending'. Qualification is gated ONCE, at promotion/recompute time (the recompute endpoint sets review_state by total_score vs the org min_score) — review_state IS the qualified set. We do NOT re-filter by score on read: doing so re-applied the configurable min_score (default 70) to deals promoted under different/earlier logic, hiding pending deals scoring below 70 (real scores cluster in the 40s-60s) and emptying the list for every org without a custom scoring config. (fix 2026-06-25)

get/api/prospecting/deals/pending

Query parameters

lightboolean

When true, return the light card payload (derived previews, heavy fields omitted) like GET /pipeline?light=true. Web opts in; mobile leaves it false for the full payload.

When true, return the light card payload (derived previews, heavy fields omitted) like GET /pipeline?light=true. Web opts in; mobile leaves it false for the full payload.

previewboolean

When true, select only the compact fields needed for dashboard previews.

When true, select only the compact fields needed for dashboard previews.

limitinteger nullable

Optional cap for compact preview surfaces.

Optional cap for compact preview surfaces.

user_idstring nullable
org_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/prospecting/deals/pending:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}