Skip to main content

PagerDuty

PagerDuty is a platform that provides incident management solutions to help teams detect and respond to critical issues. It integrates with various tools to ensure that the right people are notified at the right time.

List existing incidents

Retrieve a list of existing incidents from PagerDuty.

Fields

  • Limit the number of results per page.
    Specify the maximum number of incidents to return per page. The maximum allowed value is 100. This field is optional and defaults to 20. You can enter any valid number up to 100. If you need to specify a different limit, ensure it is a valid number, otherwise, you will receive an error message: "Please enter a valid number for the limit."

Output

The output will be a list of incidents currently recorded in PagerDuty, limited to the number specified by the limit field. Each incident will include details such as the incident ID, status, and other relevant information.

List all on-calls

Retrieve a list of all on-call entries during a given time range.

Fields

  • Start of the time range
    The start of the time range over which you want to search. If an on-call period overlaps with the range, it will be included in the result. This field is optional and defaults to the current time. The format should be in YYYY-MM-DDTHH:MM:SSZ. Ensure the date-time is valid, otherwise, you will receive an error message: "Please provide a valid date-time in the format YYYY-MM-DDTHH:MM:SSZ."

  • End of the time range
    The end of the time range over which you want to search. If an on-call period overlaps with the range, it will be included in the result. This field is optional and defaults to the current time. The format should be in YYYY-MM-DDTHH:MM:SSZ. Ensure the date-time is valid and that it is not before the since time, otherwise, you will receive an error message: "Please provide a valid date-time in the format YYYY-MM-DDTHH:MM:SSZ."

  • Time zone
    Time zone in which results will be rendered. This will default to the account time zone. You can specify any valid time zone string, such as UTC or America/Los_Angeles. Ensure the time zone is valid, otherwise, you will receive an error message: "Please provide a valid time zone."

Output

The output will be a list of on-call entries within the specified time range. Each entry will include details such as the user on call, the schedule, and the time period they are on call for.