Read audit log
project_read_auditRead and filter recent SQLite audit log entries to inspect recorded operations for compliance or debugging, with bounded results.
Instructions
Read recent rows from the SQLite audit log (WAL). Filter by session/operation/outcome; bounded by limit. Use when: you need to inspect what operations were recorded (audit trail) — e.g. compliance or debugging a prior action. Avoid when: you only need the live cache/metric report (project_health include_audit=true) — that one is faster. Speed: fast; one bounded SQLite read (readonly, WAL-safe). Output: audit_read: rows[] (newest first), count, truncated, db_path. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| outcome | No | ||
| operation | No | ||
| session_id | No | ||
| since_unix | No |