pagerduty
Installation
SKILL.md
PagerDuty
Use this skill for read-only PagerDuty lookups: on-call, handoffs, schedules, escalation policies, services, teams, users, and incidents.
Call the API
- Call
https://api.pagerduty.comwithcurlfrom the sandbox. - Do not send an
Authorizationheader. Junior adds the PagerDuty credential to requests for this host. - Send
-H 'Accept: application/vnd.pagerduty+json;version=2'. - Use only
GET. The deployment key is read-only. - Pipe responses through
jqand keep only the fields you need. - Lists page with
limit(max100) andoffset. Followmore: trueonly when the answer needs more rows. - Array filters use bracket syntax, for example
schedule_ids[]=PABC123. Pass them withcurl -G --data-urlencode. - Times are ISO 8601. Pass
time_zone=<IANA zone>when the user names a zone.
Workflow
- Resolve the target.