Use this file to discover all available pages before exploring further.
The admin API provides endpoints for monitoring platform health, managing registered users, and performing privileged operations. Every endpoint on this page requires your account to have the Admin role. Non-admin requests receive a 401 or 403 response. Pass your admin session cookie with every request.
All endpoints on this page are restricted to Admin accounts. Do not expose admin session tokens in client-side code or public repositories.
See the Badges API page for the following admin-only badge endpoints:
POST /api/admin/assign-badge — Assign a badge to a user.
GET /api/admin/assign-badge — List all active badge assignments.
DELETE /api/admin/assign-badge — Remove a badge assignment.
All admin API calls must include the admin session cookie. In production, session cookies are HttpOnly and Secure, so they are sent automatically by the browser. When using curl or other HTTP clients in a script, copy the next-auth.session-token value from your browser’s cookie storage and pass it with -H "Cookie: next-auth.session-token=<token>".