These endpoints read the audit events of every app in a workspace at once. For one app's events see Events.
Send an API key in Authorization and an M2M token with the read scope in X-Authorization. The token's app must be in the workspace in the URL. With a workspace key the feed covers every app of the workspace; with an app key it covers that app only.
List workspace events#
Returns events newest first.
/v1/workspaces/:workspace_id/eventsAPI key + M2M tokencurl "https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/events?category=auth&limit=20" \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"{ "events": [ { "id": "0193fb00-0000-7000-8000-000000000123", "slug": "auth.login.blocked", "category": "auth", "scope": "app", "note": "Sign-in blocked", "ip_address": "203.0.113.10", "user_agent": "Mozilla/5.0", "metadata": {}, "sequence_number": 4182, "event_hash": "9f2c...e41a", "previous_event_hash": "51b0...7d03", "app_id": "app_3mxZRrzWxhPZ08dXvqq6", "app": { "id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Wayne Industries" }, "user": null, "created_at": "2026-11-18T14:02:11.000Z", "updated_at": "2026-11-18T14:02:11.000Z" } ], "next": "0193fb00-0000-7000-8000-000000000123"}The example shows a subset of the fields. user is the app user the event is about, or null. next is absent on the last page.
| Status | error_code | When |
|---|---|---|
| 404 | app_id is not an app of the workspace | |
| 422 | invalid | scope is not workspace or app, user_id is not a UUID, or a date cannot be parsed |
Count events per time slice#
Returns how many of each event each app had per slice of a recent period. Workspace events (team and workspace changes) are left out.
/v1/workspaces/:workspace_id/events/rollupAPI key + M2M tokencurl "https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/events/rollup?range=week" \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"{ "range": "week", "from": "2026-11-12T10:00:00Z", "to": "2026-11-19T10:00:00Z", "bucket_seconds": 21600, "rows": [ { "app_id": "0193f8aa-9999-7aaa-8bbb-cccccccccccc", "app_public_id": "app_3mxZRrzWxhPZ08dXvqq6", "at": "2026-11-12T12:00:00Z", "slug": "auth.login.new_device", "count": 4 } ]}at is the start of the slice in UTC. A range other than the three values returns 422 with error_code invalid.