PagerDuty
API actions for the PagerDuty integration.
PagerDuty
Connect to PagerDuty with an API token to manage incidents and services.
Acknowledge an incident
Mark an incident as acknowledged.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
incident_id | string | Yes | PagerDuty incident ID. |
from_email | string | No | Email to use for audit logging (defaults to the configured one). |
Response
{
"incident": {
"id": {},
"status": "mock_value"
},
"status": "abc123xyz"
}Create an incident
Open a new PagerDuty incident for a service with optional body text.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
service_id | string | Yes | PagerDuty service ID. |
title | string | Yes | Incident title. |
from_email | string | No | Email to use for audit logging (defaults to the configured one). |
urgency | string | No | Incident urgency (high or low). |
body | string | No | Optional incident details/body text. |
Response
{
"incident": {
"html_url": "mock_value",
"id": "mock_value",
"incident_number": "mock_value",
"status": "mock_value"
},
"status": "abc123xyz"
}List services
Retrieve PagerDuty services the token can access.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Maximum number of services to return (1-100). |
Response
{
"services": [
{}
],
"status": "abc123xyz"
}