The
audit_logs client methods are currently in ALPHA. The API may change without notice. A one-time warning is emitted on first use.Key Capabilities
- List audit log entries newest-first with cursor-based pagination
- Filter by time window (
start_time/end_time) - Filter by user (
user_id) - Filter by operation type (
QUERY,MUTATION, orSUBSCRIPTION)
List Audit Logs
List audit log entries with optional filtering. Whenstart_time and end_time are omitted, the server defaults to the last 30 days.
Operation Types
| Value | Description |
|---|---|
AuditLogOperationType.QUERY | Read operations |
AuditLogOperationType.MUTATION | Write operations (create/update/delete) |
AuditLogOperationType.SUBSCRIPTION | Real-time subscription operations |