|docs
Start Trial

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 on how to paginate through the result set.

Only admins, account owners, or global API tokens on PagerDuty account pricing plans with the "Audit Trail" feature can access this endpoint.

For other role based access to audit records by resource ID, see the resource's API documentation.

For more information see the Audit API Document.

Scoped OAuth requires: audit_records.read

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Query Parameters

limit?integer

The minimum of the limit parameter used in the request or the maximum request size of the API.

cursor?string

Optional parameter used to request the "next" set of results from an API. The value provided here is most commonly obtained from the next_cursor field of the previous request. When no value is provided, the request starts at the beginning of the result set.

since?string

The start of the date range over which you want to search. If not specified, defaults to now() - 24 hours (past 24 hours)

Formatdate-time
until?string

The end of the date range over which you want to search. If not specified, defaults to now(). May not be more than 31 days after since.

Formatdate-time
root_resource_types[]?string

Resource type filter for the root_resource.

Value in

  • "users"
  • "teams"
  • "schedules"
  • "escalation_policies"
  • "services"
  • "ip_allow_lists"
actor_type?string

Actor type filter.

Value in

  • "user_reference"
  • "api_key_reference"
  • "app_reference"
actor_id?string

Actor Id filter. Must be qualified by providing the actor_type param.

method_type?string

Method type filter.

Value in

  • "browser"
  • "oauth"
  • "api_token"
  • "identity_provider"
  • "other"
method_truncated_token?string

Method truncated_token filter. Must be qualified by providing the method_type param.

actions[]?string

Action filter

Value in

  • "create"
  • "update"
  • "delete"

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json