Skip to main content

Review Stats

Get statistics for the review queue including total pending items, items by status, and average time in queue. Useful for monitoring review backlog.

Get a summary of the review queue broken down by status. Use this endpoint to monitor backlog size, track review throughput, and trigger alerts when pending items exceed a threshold.

GET/v1/review/stats

Response

Response fields

totalintegerTotal number of review records across all statuses.
by_statusobjectCount of records keyed by status (e.g. pending, approved, rejected).

Response

{
  "total": 260,
  "by_status": {
    "pending": 15,
    "approved": 230,
    "rejected": 15
  }
}

Errors

Error responses

401unauthorizedMissing or invalid API key.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.

This endpoint is typically called on a dashboard polling loop to drive queue-depth indicators. Pair it with GET /v1/review filtered by status=pending to fetch the actual items once the pending count crosses your alerting threshold.