Home / Servers / PagerDuty API / list_audit_records

List audit records

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

List audit records List audit trail records matching provided query params or default criteria. The returned records are sorted by the execution_time from newest to oldest. See Cursor-based pagination for instructions… [GET /audit/records]

Name on the gateway: pagerduty_api__list_audit_records · read-only.

Parameters

NameTypeDescription
limitintegerThe minimum of the limit parameter used in the request or the maximum request…
cursorstringOptional parameter used to request the "next" set of results from an API. The…
sincestringThe start of the date range over which you want to search. If not specified…
untilstringThe end of the date range over which you want to search. If not specified…
root_resource_types[]users | teams | schedules | escalation_policies | services | ip_allow_listsResource type filter for the root_resource.
actor_typeuser_reference | api_key_reference | app_referenceActor type filter.
actor_idstringActor Id filter. Must be qualified by providing the actor_type param.
method_typebrowser | oauth | api_token | identity_provider | otherMethod type filter.
method_truncated_tokenstringMethod truncated_token filter. Must be qualified by providing the method_type…
actions[]create | update | deleteAction filter

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": "pagerduty_api__list_audit_records",
  "arguments": {}
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

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

Try asking

Use the list audit records tool with limit set to ….

More from PagerDuty API