Skip to content

Approve All Opportunities

POST
/radar/opportunities/approve-all

Bulk-approve opportunities in one lane - currently FAIL-CLOSED (HTTP 409).

campaign_builder deliberately rejects bulk approval until an item-by-item review contract exists: approve_all_opportunities raises 409 ‘Bulk approval requires review’ on every call (campaign_builder/routers/radar.py). This bridge forwards to that handler so the 409 is surfaced honestly instead of fabricating a 200 - it never mutates or bills. Approve opportunities one at a time via POST /radar/opportunities/{gap_id}/approve.

Product gap (out of this bridge’s scope): the developer-api reference (docs/developer-api-reference.md ~L3799-3800) and the MCP tool g8_radar_approve_all_opportunities still advertise a working ‘top-50 drain’ and must be re-documented to the 409 contract, or the cb handler must gain a real bulk-review flow.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

object
lane
string
default: now

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string