Home / Servers / Cloudflare API / audit_logs_v2_get_account_audit_log_history

Get resource change history from an account audit log entry (Version 2)

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Get resource change history from an account audit log entry (Version 2) Returns the chronological change history for the resource identified by the given audit log entry.… [GET /accounts/{account_id}/logs/audit/{id}/history]

Name on the gateway: cloudflare_api__audit_logs_v2_get_account_audit_log_history · read-only.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
id requiredstringid parameter
action_time requiredstringRFC3339 timestamp of the source audit log…
since requiredstringLimits the returned results to logs newer than…
before requiredstringLimits the returned results to logs older than…
directiondesc | ascSets sorting order.
limitnumberThe number limits the objects to return. The…
cursorstringThe cursor is an opaque token used to paginate…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__audit_logs_v2_get_account_audit_log_history",
  "arguments": {
    "account_id": "…",
    "id": "…",
    "action_time": "…",
    "since": "…",
    "before": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get resource change history from an account audit log entry (version 2) tool with account_id set to ….

More from Cloudflare API