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.
List incidents from PagerDuty with optional filters.
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
statuses | string | いいえ | Comma-separated statuses to filter (triggered, acknowledged, resolved) |
serviceIds | string | いいえ | Comma-separated service IDs to filter |
since | string | いいえ | Start date filter (ISO 8601 format) |
until | string | いいえ | End date filter (ISO 8601 format) |
sortBy | string | いいえ | Sort field (e.g., created_at:desc) |
limit | string | いいえ | Maximum number of results (max 100) |
| パラメータ | 型 | 説明 |
|---|
incidents | array | Array of incidents |
↳ id | string | Incident ID |
↳ incidentNumber | number | Incident number |
↳ title | string | Incident title |
↳ status | string | Incident status |
↳ urgency | string | Incident urgency |
↳ createdAt | string | Creation timestamp |
↳ updatedAt | string | Last updated timestamp |
↳ serviceName | string | Service name |
↳ serviceId | string | Service ID |
↳ assigneeName | string | Assignee name |
↳ assigneeId | string | Assignee ID |
↳ escalationPolicyName | string | Escalation policy name |
↳ htmlUrl | string | PagerDuty web URL |
total | number | Total number of matching incidents |
more | boolean | Whether more results are available |
Create a new incident in PagerDuty.
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
fromEmail | string | はい | Email address of a valid PagerDuty user |
title | string | はい | Incident title/summary |
serviceId | string | はい | ID of the PagerDuty service |
urgency | string | いいえ | Urgency level (high or low) |
body | string | いいえ | Detailed description of the incident |
escalationPolicyId | string | いいえ | Escalation policy ID to assign |
assigneeId | string | いいえ | User ID to assign the incident to |
| パラメータ | 型 | 説明 |
|---|
id | string | Created incident ID |
incidentNumber | number | Incident number |
title | string | Incident title |
status | string | Incident status |
urgency | string | Incident urgency |
createdAt | string | Creation timestamp |
serviceName | string | Service name |
serviceId | string | Service ID |
htmlUrl | string | PagerDuty web URL |
Update an incident in PagerDuty (acknowledge, resolve, change urgency, etc.).
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
fromEmail | string | はい | Email address of a valid PagerDuty user |
incidentId | string | はい | ID of the incident to update |
status | string | いいえ | New status (acknowledged or resolved) |
title | string | いいえ | New incident title |
urgency | string | いいえ | New urgency (high or low) |
escalationLevel | string | いいえ | Escalation level to escalate to |
| パラメータ | 型 | 説明 |
|---|
id | string | Incident ID |
incidentNumber | number | Incident number |
title | string | Incident title |
status | string | Updated status |
urgency | string | Updated urgency |
updatedAt | string | Last updated timestamp |
htmlUrl | string | PagerDuty web URL |
Add a note to an existing PagerDuty incident.
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
fromEmail | string | はい | Email address of a valid PagerDuty user |
incidentId | string | はい | ID of the incident to add the note to |
content | string | はい | Note content text |
| パラメータ | 型 | 説明 |
|---|
id | string | Note ID |
content | string | Note content |
createdAt | string | Creation timestamp |
userName | string | Name of the user who created the note |
List services from PagerDuty with optional name filter.
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
query | string | いいえ | Filter services by name |
limit | string | いいえ | Maximum number of results (max 100) |
| パラメータ | 型 | 説明 |
|---|
services | array | Array of services |
↳ id | string | Service ID |
↳ name | string | Service name |
↳ description | string | Service description |
↳ status | string | Service status |
↳ escalationPolicyName | string | Escalation policy name |
↳ escalationPolicyId | string | Escalation policy ID |
↳ createdAt | string | Creation timestamp |
↳ htmlUrl | string | PagerDuty web URL |
total | number | Total number of matching services |
more | boolean | Whether more results are available |
List current on-call entries from PagerDuty.
| パラメータ | 型 | 必須 | 説明 |
|---|
apiKey | string | はい | PagerDuty REST API Key |
escalationPolicyIds | string | いいえ | Comma-separated escalation policy IDs to filter |
scheduleIds | string | いいえ | Comma-separated schedule IDs to filter |
since | string | いいえ | Start time filter (ISO 8601 format) |
until | string | いいえ | End time filter (ISO 8601 format) |
limit | string | いいえ | Maximum number of results (max 100) |
| パラメータ | 型 | 説明 |
|---|
oncalls | array | Array of on-call entries |
↳ userName | string | On-call user name |
↳ userId | string | On-call user ID |
↳ escalationLevel | number | Escalation level |
↳ escalationPolicyName | string | Escalation policy name |
↳ escalationPolicyId | string | Escalation policy ID |
↳ scheduleName | string | Schedule name |
↳ scheduleId | string | Schedule ID |
↳ start | string | On-call start time |
↳ end | string | On-call end time |
total | number | Total number of matching on-call entries |
more | boolean | Whether more results are available |