Administration
Admin manual
For SurveyGuard staff: running the platform from the admin panel.
The admin panel at /admin is only visible to SurveyGuard platform admins (the Admin panel link appears at the bottom of the sidebar). Every change made there is recorded in the Audit log.
Granting and removing admin access
- From the panel: Users → Make admin / Remove admin. You can't remove your own access or the last remaining admin.
- From the server: add the email to the
SUPERADMIN_EMAILSsetting (they become an admin the next time they sign in; removing them from the list removes the access at their next sign-in), or runscripts/grant-superadmin.ts/scripts/revoke-superadmin.tswith their email.
Every grant and removal is recorded in the audit log, including ones made from the server.
Overview
Users, accounts by plan, monthly recurring revenue, responses scored platform-wide with the fraud rate, a daily volume chart, the busiest accounts, and this month's estimated fraud-check spend against the budget.
Users
Search users by email or name. Suspend blocks a user from the dashboard and API immediately (their data is kept); Reactivate restores access.
Accounts
Each customer account with its plan, subscription status, renewal date, usage against its limit, seats and projects. Manage lets you:
- Extend or grant a trial by a number of days;
- Override the plan — give an account another plan's limits and features (for pilots or support cases). This never charges or refunds in Stripe; billing changes are done in the Stripe dashboard.
API keys
Every customer key with its project, account and last use. Revoke a key that has leaked or is being abused; the customer can create a new one.
System health
Live API performance: scoring latency against the 200 ms target, cache hit rate, IPQS checks and timeouts, AI usage and per-endpoint request counts, errors and latency percentiles. It refreshes every 30 seconds.
Settings
Platform-wide configuration, applied within about a minute:
- Default high-risk countries — used for projects that don't set their own list;
- IPQS timeout — how long to wait for email/IP/device checks before scoring without them;
- Fraud-check providers — which paid service answers the email and IP checks, the optional second-opinion check, each provider's price per check, and one monthly budget covering all of them. A provider is available once its API key is set on the server;
- AI features on/off and the AI model;
- New sign-ups on/off;
- Maintenance banner — a message shown at the top of every customer's dashboard.
Common tasks
| Task | Where |
|---|---|
| A customer can't log in | Users → check they aren't suspended |
| A customer hit their limit mid-campaign | Accounts → Manage → plan override, then follow up on billing |
| A key is being abused | API keys → search the prefix → Revoke |
| Scoring feels slow | System health → check IPQS timeouts and p95 latency |
| Planned downtime | Settings → Maintenance banner |