internal

Get Marketing Feedback Risk Groups

Synchronous SQL group-by counts over the full filtered feedback week.

Same week / company / team / toggle filters as GET .../feedback/risks. Aggregation is inline (no Hatchet / LLM) so the UI can show ranked category counts on click. source_family is a cheap CASE over source_clause (Marketing standards vs Regulatory). disclosure recovers the standards filename from a structured or legacy source_clause prefix.

get/internal/reliability/marketing/feedback/risks/groups

Query parameters

week_startstring date required

ISO week start (Monday) to drill into

ISO week start (Monday) to drill into

dimension'source_clause' | 'short_text' | 'ignore_comment' | 'source_family' | 'disclosure'

Group-by dimensions for the marketing feedback week drill-down.

source_family is a coarse rollup derived from source_clause text (Marketing standards vs Regulatory) — not a stored column. disclosure recovers a Chime DL_ID (Disclosure CG 23cg23) or the standards filename from a structured / legacy source_clause.

Group-by dimension: source_clause (default), short_text, ignore_comment, source_family, or disclosure

company_idstring uuid nullable
team_idstring uuid nullable
flaggedboolean

Only risks a reviewer flagged

Only risks a reviewer flagged

outdatedboolean

Only risks superseded by a re-run

Only risks superseded by a re-run

reviewer_addedboolean

Only reviewer-added risks

Only reviewer-added risks

dismissedboolean

Only risks a reviewer dismissed

Only risks a reviewer dismissed

over_flaggedboolean

Only dismissals the reviewer marked as an over-flag / false positive (reason incorrect / out_of_scope / already_met)

Only dismissals the reviewer marked as an over-flag / false positive (reason incorrect / out_of_scope / already_met)

reason'valid_ok' | 'already_met' | 'incorrect' | 'out_of_scope' | 'pre_approved' | 'other'

Why a reviewer dismissed a marketing risk (status=dismissed).

Only dismissals with this exact reviewer-stated reason

ignoredboolean

Only risks with an ignore comment

Only risks with an ignore comment

actionedboolean

Only risks dispositioned (status set or outdated)

Only risks dispositioned (status set or outdated)

not_actionedboolean

Only risks never dispositioned (no status, not outdated)

Only risks never dispositioned (no status, not outdated)

source_clausestring[] nullable

Narrow before aggregating (same semantics as the list endpoint; repeat param to OR)

Narrow before aggregating (same semantics as the list endpoint; repeat param to OR)

short_textstring[] nullable
ignore_commentstring[] nullable
source_familystring[] nullable
disclosurestring[] nullable

Response

Successful Response

week_startstring date required
dimensionstring required
totalinteger required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.