Skip to main content

PagerDuty On-Call Ack

pagerduty-oncall-ack installs the pd-auto-ack CLI. It acknowledges PagerDuty incidents only when the configured user is currently on call.

It is intentionally narrow:

  • Checks whether the user is on call.
  • Displays open incidents assigned to that user.
  • Acknowledges only triggered incidents.
  • Does not resolve, reassign, rename, or add notes to incidents.

Install

Homebrew (macOS and Linux)

brew install nithishduda-ai/tap/pagerduty-oncall-ack
pd-auto-ack --version

The Homebrew package includes the optional terminal dashboard. See the Homebrew guide for upgrade, uninstall, and troubleshooting steps.

pipx (macOS and Linux)

pipx keeps CLI tools in isolated Python environments.

macOS with Homebrew:

brew install pipx
pipx ensurepath
exec zsh -l

Linux:

python3 -m pip install --user pipx
python3 -m pipx ensurepath
exec "$SHELL" -l

Install the CLI:

pipx install pagerduty-oncall-ack
pd-auto-ack --version

Install the optional terminal dashboard:

pipx install "pagerduty-oncall-ack[tui]"
pd-auto-ack tui --env-file ~/.pd-auto-ack.env

For an existing pipx install, add the dashboard dependency with:

pipx inject pagerduty-oncall-ack textual

Upgrade an existing install:

pipx upgrade pagerduty-oncall-ack

The installed CLI command is pd-auto-ack.

Quick Start

Create a starter config file:

pd-auto-ack init --env-file ~/.pd-auto-ack.env
nano ~/.pd-auto-ack.env

Validate configuration and PagerDuty access:

pd-auto-ack doctor --env-file ~/.pd-auto-ack.env
pd-auto-ack check --env-file ~/.pd-auto-ack.env

Run one dry-run cycle:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --once

Run continuously in dry-run mode:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --watch --interval 30

Run continuously in live mode:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --watch --interval 30 --apply

Open the optional terminal dashboard:

pd-auto-ack tui --env-file ~/.pd-auto-ack.env

Required PagerDuty Access

The PagerDuty token needs permissions equivalent to:

  • oncalls.read
  • incidents.read
  • incidents.write

Documentation

Security

Please report suspected vulnerabilities through GitHub's private vulnerability reporting flow from the repository Security tab. See SECURITY.md.

Safety Summary

The CLI only acknowledges incidents when all of these are true:

  • the configured user is currently on call
  • the incident is triggered
  • the incident is assigned to that user

Dry-run mode is the default. Live mode requires --apply or PD_APPLY=true.

API References

The implementation follows PagerDuty's REST API reference and published OpenAPI schema:

Metadata

Release files for pagerduty-oncall-ack 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pagerduty-oncall-ack 0.6.0
File Size Uploaded
pagerduty_oncall_ack-0.6.0.tar.gz 17.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pagerduty-oncall-ack 0.6.0
File Interpreter ABI Platform
pagerduty_oncall_ack-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / pagerduty_oncall_ack-0.6.0.tar.gz

Download URL pagerduty_oncall_ack-0.6.0.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b3b8fcdb975feefde64efeaa12e939443dcdbdbb5a6d96588182fa24575f3c1
BLAKE2b-256 checksum
How to use checksums
dc5797acbf557fbe6b371663db63111fe65bc7929942d348d35b117d5276f9a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / pagerduty_oncall_ack-0.6.0-py3-none-any.whl

Download URL pagerduty_oncall_ack-0.6.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0f04ed938d5c04e30235ffc17dc71d0a1085e36a4ec5dff9ea48c3a77b4a29c
BLAKE2b-256 checksum
How to use checksums
d3a94c42966a0dc6df571321d3d476954187334a022294703178eedc95f1dc5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page