---
title: "Admin Rerun Nudge Scan"
method: POST
path: "/api/v1/admin/rerun-nudge/scan"
tags: ["admin"]
---

# Admin Rerun Nudge Scan

`POST /api/v1/admin/rerun-nudge/scan`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/admin/rerun-nudge/scan`
- Auth: none declared

RES-014-B — operator trigger for the re-run nudge scan/dispatch pass.

The nudge is built but DISABLED by default (``RERUN_NUDGE_ENABLED`` OFF —
population/retention-gated). This admin-gated endpoint lets the operator
run a scan once the flag is flipped (and to dry-run reach beforehand —
``dry_run=True`` is the default so a stray click sends nothing).

Returns the scan summary, including ``fenced_out_non_customer_key`` (the
AC-06 cost fence in action) so the operator can confirm Badge-paid-fallback
agents are excluded before any live send.

404 when ``ADMIN_DASHBOARD_ENABLED`` is off (rule #4 — fail explicit), so
the admin surface stays uniformly gated. When ``RERUN_NUDGE_ENABLED`` is
off the scan returns ``enabled=false`` and does nothing.

## Query parameters

- `dry_run` boolean: Preview reach without sending (default).

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
