API reference

Statistics

Active users, sign-ups, sign-ins per day and the share of each sign-in method for one app.

Retrieve app statistics#

Returns usage counts for one app. Values are cached: active users, all users and the activity chart for 1 hour, sign-ups today for 30 minutes, sign-ins for 5 minutes and the method ratio for 6 hours. Send refresh_cache=true to recount now.

The key in Authorization must own the app (the app's key or a workspace key above it). X-Authorization carries an M2M token with the read scope. See Authentication.

GET/v1/:app_id/statsAPI key + M2M token
app_idstringrequired
The app (app_...).
refresh_cachestring
true to skip the cache.
Requestbash
curl https://api.scute.io/v1/$SCUTE_APP_ID/stats \  -H "Authorization: Bearer $SCUTE_APP_SECRET" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"
Response 200json
{  "active_users": 412,  "signups_today": 7,  "all_users": 1890,  "user_activity_chart": [    { "date": "2026-10-21", "active_users": 120 },    { "date": "2026-10-22", "active_users": 131 }  ],  "authentication_ratio": {    "webauthn": 38.5,    "magic": 41.2,    "otp": 20.3  },  "sign_ins_chart": [    { "date": "2026-11-13", "sign_ins": 210 },    { "date": "2026-11-14", "sign_ins": 198 }  ],  "sign_ins_30_days": 6120}

The chart and ratio examples are shortened.

FieldMeaning
active_usersDistinct users with a session used in the last 30 days
signups_todayUsers created since the start of today
all_usersEvery user of the app
user_activity_chartDistinct active users per day for the last 30 days, oldest first
authentication_ratioPercentage of the app's sessions for every session type: webauthn, magic, xlogin, oauth, misc, otp, workspace, m2m, mfa, challenge, impersonation. Empty when the app has no sessions
sign_ins_chartSign-ins per day (UTC) for the last 7 days, oldest first
sign_ins_30_daysSign-ins in the last 30 days
StatusWhen
401No valid key or M2M token
403The key does not own the app
404The app does not exist