> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nilbenchmarks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reporting API

> Verification queue, policy checks, audit log, and expiring deal tracking.

## Endpoints

### GET /api/v1/reporting/stats

Counts: `verified`, `pending_review`, `needs_review`, `overdue` (>7 days), `verification_rate`.

### GET /api/v1/reporting/queue

Returns all deals needing attention (pending\_review or needs\_review). Each item includes detected issues (missing comp type, missing end date, overdue days).

### GET /api/v1/reporting/policy-checks

**Critical issues:** Missing compensation type, missing end date, overdue >7 days (with counts).

**Passing checks:** Total value present, athlete linked, agreement type specified (with X of Y counts).

### GET /api/v1/reporting/audit-log

Paginated, filterable activity log. **Query params:** `action_type`, `page`, `page_size`.

### GET /api/v1/reporting/expiring

Deals expiring within N days (default 60). Returns athlete name, brand, value, days remaining.
