AptlyStar

PagerDuty

Manage incidents and on-call schedules with PagerDuty

使用方法

Integrate PagerDuty into your workflow to list, create, and update incidents, add notes, list services, and check on-call schedules.

ツール

pagerduty_list_incidents

List incidents from PagerDuty with optional filters.

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
statusesstringいいえComma-separated statuses to filter (triggered, acknowledged, resolved)
serviceIdsstringいいえComma-separated service IDs to filter
sincestringいいえStart date filter (ISO 8601 format)
untilstringいいえEnd date filter (ISO 8601 format)
sortBystringいいえSort field (e.g., created_at:desc)
limitstringいいえMaximum number of results (max 100)

出力

パラメータ型説明
incidentsarrayArray of incidents
↳ idstringIncident ID
↳ incidentNumbernumberIncident number
↳ titlestringIncident title
↳ statusstringIncident status
↳ urgencystringIncident urgency
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast updated timestamp
↳ serviceNamestringService name
↳ serviceIdstringService ID
↳ assigneeNamestringAssignee name
↳ assigneeIdstringAssignee ID
↳ escalationPolicyNamestringEscalation policy name
↳ htmlUrlstringPagerDuty web URL
totalnumberTotal number of matching incidents
morebooleanWhether more results are available

pagerduty_create_incident

Create a new incident in PagerDuty.

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
fromEmailstringはいEmail address of a valid PagerDuty user
titlestringはいIncident title/summary
serviceIdstringはいID of the PagerDuty service
urgencystringいいえUrgency level (high or low)
bodystringいいえDetailed description of the incident
escalationPolicyIdstringいいえEscalation policy ID to assign
assigneeIdstringいいえUser ID to assign the incident to

出力

パラメータ型説明
idstringCreated incident ID
incidentNumbernumberIncident number
titlestringIncident title
statusstringIncident status
urgencystringIncident urgency
createdAtstringCreation timestamp
serviceNamestringService name
serviceIdstringService ID
htmlUrlstringPagerDuty web URL

pagerduty_update_incident

Update an incident in PagerDuty (acknowledge, resolve, change urgency, etc.).

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
fromEmailstringはいEmail address of a valid PagerDuty user
incidentIdstringはいID of the incident to update
statusstringいいえNew status (acknowledged or resolved)
titlestringいいえNew incident title
urgencystringいいえNew urgency (high or low)
escalationLevelstringいいえEscalation level to escalate to

出力

パラメータ型説明
idstringIncident ID
incidentNumbernumberIncident number
titlestringIncident title
statusstringUpdated status
urgencystringUpdated urgency
updatedAtstringLast updated timestamp
htmlUrlstringPagerDuty web URL

pagerduty_add_note

Add a note to an existing PagerDuty incident.

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
fromEmailstringはいEmail address of a valid PagerDuty user
incidentIdstringはいID of the incident to add the note to
contentstringはいNote content text

出力

パラメータ型説明
idstringNote ID
contentstringNote content
createdAtstringCreation timestamp
userNamestringName of the user who created the note

pagerduty_list_services

List services from PagerDuty with optional name filter.

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
querystringいいえFilter services by name
limitstringいいえMaximum number of results (max 100)

出力

パラメータ型説明
servicesarrayArray of services
↳ idstringService ID
↳ namestringService name
↳ descriptionstringService description
↳ statusstringService status
↳ escalationPolicyNamestringEscalation policy name
↳ escalationPolicyIdstringEscalation policy ID
↳ createdAtstringCreation timestamp
↳ htmlUrlstringPagerDuty web URL
totalnumberTotal number of matching services
morebooleanWhether more results are available

pagerduty_list_oncalls

List current on-call entries from PagerDuty.

入力

パラメータ型必須説明
apiKeystringはいPagerDuty REST API Key
escalationPolicyIdsstringいいえComma-separated escalation policy IDs to filter
scheduleIdsstringいいえComma-separated schedule IDs to filter
sincestringいいえStart time filter (ISO 8601 format)
untilstringいいえEnd time filter (ISO 8601 format)
limitstringいいえMaximum number of results (max 100)

出力

パラメータ型説明
oncallsarrayArray of on-call entries
↳ userNamestringOn-call user name
↳ userIdstringOn-call user ID
↳ escalationLevelnumberEscalation level
↳ escalationPolicyNamestringEscalation policy name
↳ escalationPolicyIdstringEscalation policy ID
↳ scheduleNamestringSchedule name
↳ scheduleIdstringSchedule ID
↳ startstringOn-call start time
↳ endstringOn-call end time
totalnumberTotal number of matching on-call entries
morebooleanWhether more results are available

On this page