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
triggeredincidents. - 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 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
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 pagerduty-oncall-ack
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
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.readincidents.readincidents.write
Documentation
- Documentation site
- PyPI package
- Changelog
- Quick start
- Configuration
- Command reference
- How it works
- Rollout, rate limits, and operations
- Local development
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.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pagerduty_oncall_ack-0.5.0.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pagerduty_oncall_ack-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / pagerduty_oncall_ack-0.5.0.tar.gz
| Download URL | pagerduty_oncall_ack-0.5.0.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
febf0f59f0f9df75ee5ae1086e9aaccec84ad0037e348436381d9570c5d2f74f
|
|
BLAKE2b-256 checksum How to use checksums |
2e55b75a819f51433683d12b6fcc1d065ee010dfa747d94e166adc6559a2a76b
|
| 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 logRelease files / pagerduty_oncall_ack-0.5.0-py3-none-any.whl
| Download URL | pagerduty_oncall_ack-0.5.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b9384f759f5e6df829271d78db3c0f05bb29813336104c2b5966f2ade8a8813
|
|
BLAKE2b-256 checksum How to use checksums |
8667a601ab0999bc517cb39e900b33ac977194fc624a8f0d9006db209e2599f5
|
| 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