> ## Documentation Index
> Fetch the complete documentation index at: https://docs.matia.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit Logs

Audit logs in Matia allow users to monitor, record, and review platform activity for compliance, security, and operational transparency. Matia’s audit logs provide a detailed record of key events, system changes, and user actions within your organization.

## Querying Audit Logs

Accessing audit logs can be done via the [List Audit Logs](/api-reference/audit-logs/list-audit-logs) API endpoint. Matia retains audit logs for up to 30 days.

## Example Log

```json theme={null}
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-12-27T16:20:00Z",
    "event": "user.roles_removed",
    "actor": {
      "type": "user",
      "email": "user@email.com"
    },
    "context": {
      "ipAddress": "192.168.1.1",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)..."
    }
  }
```

For further assistance, contact [Matia Support](mailto:devsupport@matia.io).
