# GET /security/events

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the security group.

List recent security events

- Who may call it: administrator
- Token scope, any of: security, read, all
- Answers: 200 OK

The events field contains the security timeline for the past 30 days, newest first. It includes bans and unbans, sign-in policy refusals and allowances, firewall changes, ban rule changes, and Security settings changes. Each event includes a human-readable text field. The who field contains the actor's name when recorded and is otherwise empty.

Automatic sign-in refusals reflect the latest recorded refusal state for each IP address. For audited actions, UrbeStack considers up to 500 recent entries for relevant actions before excluding changes to settings outside the Security section.

## Parameters

- `limit` (query, integer, 1 to 999): Maximum number of events to return, from 1 to 999. Defaults to 100 if omitted or invalid.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/security/events?limit=1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "events": [
    {
      "at": "text",
      "kind": "profile",
      "text": "text",
      "who": "text"
    }
  ]
}
```

## Errors

- 401: Authentication required
