list_audit_logs
Retrieve audit log entries with time-range and free-text filtering. Supports classic Environment API v2 to access configuration changes and user actions.
Instructions
List audit log entries (classic Audit Logs API, requires auditLogs.read token scope). Returns the auditLogs array. Supports time-range filtering via from/to and a free-text filter query. Uses the classic Environment API v2: GET /api/v2/auditlogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter expression, e.g. category("CONFIG") or user("admin@example.com"). | |
| from | No | Start of the timeframe. Accepts UTC ms, ISO 8601, or relative (e.g. now-1h). Default: now-2h. | |
| to | No | End of the timeframe. Accepts UTC ms, ISO 8601, or relative. Default: now. | |
| pageSize | No | Number of entries per page (max 1000). Default: 50. |