API ReferenceAdmin: Reports
Report moderation counters.
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/reports/summary"{ "data": { "pending": 12, "reviewing": 4, "last7Days": 31 }, "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" }}Take a moderation action on a report. PATCH
Current actions are remove_content, dismiss, warn_user, and ban_user, with optional adminNote. remove_content soft-deletes the original content and resolves every report on the same target. Legacy status transitions remain accepted by the existing admin web client.
List the authenticated user's conversations. GET
Next Page