younifyd
Menu

List Schedules Audit Records

List audit records for a schedule

GET/schedules/{id}/audit/records

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the List Schedules Audit Records action (under Schedules).
  3. Fill in the fields below, then reference the result from later steps as {{listSchedulesAuditRecords.response.data}}.

Request

Path parameters

idstringrequired

The ID of the schedule.

Query parameters

limitinteger

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

cursorstring

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.

sincestring (date-time)

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

untilstring (date-time)

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`.

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Response

Returns 200 with a any. Read it in later steps with {{listSchedulesAuditRecords.response.data.<field>}}.

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.

Was this page helpful?