API ReferenceAdmin: Reviews
Aggregated review counts and average rating.
Authorization
bearerAuth AuthorizationBearer <token>
AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/admin/reviews/metrics"{ "data": { "metrics": { "total": 1842, "fiveStar": 1071, "reported": 14, "averageRating": 4.62 } }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "FORBIDDEN", "message": "You are not allowed to perform this action." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}List reviews for moderation. GET
Returns reviews across statuses. Filter by `?status=`, `?minRating=` (1–5) to surface low-star content, and `?reported=true` to see only reviews that have at least one open report.
Strip flagged images from a review. POST
Removes the image attachments on the review. The text body and star rating are preserved.