negative-news

Set Disposition

Record the tenant's triage decision for one hit — in practice dismissed from the feed; issues are created via /negative-news/issue, which records issue_created itself.

A single upsert: atomic against concurrent writes, and the WHERE skips hits already converted to an issue so a stale dismiss can't unlink one.

post/negative-news/dispositions

Request body

vendor_idstring uuid required
hit_keystring required
status'issue_created' | 'dismissed' required
issue_idstring uuid nullable
dismissal_reason'mistaken_identity' | 'not_material' | 'inaccurate' | 'other'

Why a tenant dismissed an adverse-media hit.

A note is welcome on any reason; only OTHER, which says nothing on its own, depends on one. Enforced here rather than in Postgres (the column is a plain VARCHAR) so the set can move without a migration and an unrecognized stored value reads as an odd label rather than a 500. Labels live in frontend/copilot/src/constants/negativeNewsDismissReasons.ts.

dismissal_notestring nullable

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.