---
title: "Admin work queues as counts"
method: GET
path: "/stats/attention"
tags: ["Stats"]
---

# Admin work queues as counts

`GET /stats/attention`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/stats/attention`
- Auth: `bearer` (a scheme the document does not define)

Admin-only counts of everything that waits for a person: open abuse reports, high-risk users who are not banned, past-due subscriptions, failed or stuck custom domains and sites that wait on email verification. Powers the navigation badges and the Overview "Needs attention" panel. Not cached, so a badge drops as soon as the queue is cleared.

## Response `200`

- APIStatsAttention
  - `openReports` number, required: Abuse reports with status `open`.
  - `highRiskUsers` number, required: Users with a `high` advisory risk flag who are not banned, not in a cluster reviewed as not a problem and not in an open duplicate-account case (ADR 0049, ADR 0055, ADR 0057).
  - `disputedDuplicateCases` number, required: Duplicate-account cases where the person says the accounts belong to different people; the hold stays until an admin decides (ADR 0057).
  - `pastDueSubscriptions` number, required: Paid subscriptions whose latest payment failed (past due).
  - `failedDomains` number, required: Custom domains in the `failed` state.
  - `stuckDomains` number, required: Custom domains that wait on DNS or SSL for more than 24 hours.
  - `awaitingVerificationSites` number, required: Sites that finished an upload and wait on email verification.
  - `urgentAuditFindings` number, required: Open high-confidence content-audit findings whose site is still live (ADR 0062).
  - `generatedAt` string, required: When these counts were computed (ISO 8601).

## Other responses

- `403`: Admin access required

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
