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

Recommended install uses pipx, which 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 git+https://github.com/nithishduda-ai/pagerduty-oncall-ack.git
pd-auto-ack --version

Upgrade an existing install:

pipx upgrade pagerduty-oncall-ack

If you installed an older release when the package was named pagerduty-auto-ack, reinstall once under the new package name:

pipx uninstall pagerduty-auto-ack
pipx install git+https://github.com/nithishduda-ai/pagerduty-oncall-ack.git

The CLI command remains 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

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.4.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.4.0
File Size Uploaded
pagerduty_oncall_ack-0.4.0.tar.gz 13.6 kB Details

Built distribution (wheel)

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

Total release size: 26.1 kB

Release files / pagerduty_oncall_ack-0.4.0.tar.gz

Download URL pagerduty_oncall_ack-0.4.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2145e89bed6954c02f2e9292f9ac1ac96ca9a7ec15fb7869de4be7e9fe0977b7
BLAKE2b-256 checksum
How to use checksums
933c52b30c2919af8ef16fdf928279405dd4e710b5f1629e076a7f125765d05e
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.4.0-py3-none-any.whl

Download URL pagerduty_oncall_ack-0.4.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6b54a88a1857587d0f69dfc17657edc9a42ad5a665c8098c11419c51a10469
BLAKE2b-256 checksum
How to use checksums
2524513c001f7105c12c6d0714d561a2c3e462aeb4ee5827577bf331b2060b10
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

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

This release

0.4.0 This release

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