The Audit Logs API provides access to account-level audit logs, allowing you to track changes and actions performed on your Cloudflare account.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudflare/cloudflare-typescript/llms.txt
Use this file to discover all available pages before exploring further.
List audit logs
Retrieve a list of audit logs for an account. You can filter by who made the change, which zone was affected, and the timeframe.Account identifier
Find a specific log by its ID
Filter by action
Filter by actor who performed the action
Filter by zone
Limits results to logs newer than the specified date (RFC3339 format)
Limits results to logs older than the specified date (RFC3339 format)
Changes the direction of chronological sortingOptions:
desc | ascPage number for pagination
Number of items per page (default: 25, max: 1000)
Indicates whether to hide user level audit logs
Indicates that this request is an export of logs in CSV format
Response fields
A string that uniquely identifies the audit log
A UTC RFC3339 timestamp that specifies when the action occurred
Information about the action performed
Information about who performed the action
Information about the resource that was affected
The owner of the resource
The source of the event (e.g., “API”, “Dashboard”)
An object providing additional context to the action being logged. This is a flexible value that varies between actions
The new value of the resource that was modified
The value of the resource before it was modified