get_audit_log
List an organization's audit-log entries for mutating operations and auth-lifecycle events, newest first, with time, action, actor, and pagination filters. Requires an org-level API key.
Instructions
List audit-log entries for the calling org — mutating operations and auth-lifecycle events, newest first. Results are clamped to the plan's retention window. Requires an org-level API key (chr_sk_*); agent-scoped keys cannot read the org-wide audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the window (ISO 8601) | |
| from | No | Start of the window (ISO 8601). Silently clamped to the plan retention window if older. | |
| limit | No | Max results to return (default 50) | |
| action | No | Filter by action name (e.g. event.created) | |
| cursor | No | Opaque pagination cursor from a previous response | |
| actor_key_prefix | No | Filter by the API key prefix that performed the action |