API reference

Security overview

One read for a workspace's blocked sign-ins, verifications, flags, daily counts and unusual sign-ins.

The security numbers for every app in the workspace, in one call. An app's own key with no signed-in team member sees that app's numbers only. Days are UTC days.

Get the security overview#

GET/v1/workspaces/:workspace_id/security/overviewAPI key + M2M token
workspace_idstringrequired
Path. The workspace's ID or slug.
daysinteger
Query. Days the daily counts cover, today included. 1 to 90, default 14.
Requestbash
curl "https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/security/overview?days=7" \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"
Response 200json
{  "window": { "days": 7, "tz": "UTC", "from": "2026-11-13T00:00:00Z", "to": "2026-11-19T14:00:00Z" },  "blocked_24h": 6,  "blocked_prev_24h": 2,  "verify_24h": 11,  "verify_passed_24h": 7,  "verify_extra_code_24h": 8,  "verify_own_proof_24h": 3,  "notified_24h": 5,  "flags": { "flagged": 1, "suspended": 0, "banned": 0 },  "days": [    { "date": "2026-11-13", "verify": 9, "blocked": 1 }  ],  "reasons": [    { "reason": "blocked_ip", "count": 4 },    { "reason": "security_block", "count": 2 }  ],  "anomalies_24h": 1,  "anomalies": [    {      "id": "0193fa00-1111-7222-8333-444444444444",      "at": "2026-11-19T12:40:02Z",      "slug": "auth.login.blocked",      "outcome": "block",      "threat": "impossible_travel",      "threats": ["impossible_travel", "new_country"],      "user": { "id": "0193f900-9999-7999-8999-999999999999", "app_user_id": "0193f900-aaaa-bbbb-cccc-eeeeeeeeeeee", "name": "Alice", "email": "alice@example.com" },      "app": { "id": "0193f8aa-2222-7333-8444-555555555555", "public_id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Portal", "slug": "portal" },      "ip": "198.51.100.20",      "city": "Lisbon",      "country": "PT",      "travel": null,      "known_countries": ["US"],      "flag_id": null,      "no_fingerprint": false,      "block_reason": null,      "request_id": "req_8f2a"    }  ]}
FieldMeaning
blocked_24h, blocked_prev_24hBlocked sign-ins (auth.login.blocked) in the last 24 hours and the 24 before
verify_24hSign-ins asked to verify (auth.login.verification_required plus auth.login.suspicious)
verify_passed_24hAttack protection codes that were passed
verify_extra_code_24hOf verify_24h, sign-ins held for an extra code
verify_own_proof_24hOf verify_24h, sign-ins let in on the proof they signed in with
notified_24hPeople who got a security email
flagsPeople held back now, by flag type
daysPer UTC day, oldest first: verify and blocked
reasonsWhy the last 24 hours of blocks happened, like user_banned, user_suspended, blocked_ip, blocked_country, security_block
anomaliesUnusual sign-ins in the last 24 hours, newest 50. outcome is block, verify or notify. threat is the main one of threats

Returns 422 invalid_days when days is out of range, and 404 when the workspace does not exist.