AptlyStar

PagerDuty

Manage incidents and on-call schedules with PagerDuty

Instrucciones de uso

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

Herramientas

pagerduty_list_incidents

List incidents from PagerDuty with optional filters.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
statusesstringNoComma-separated statuses to filter (triggered, acknowledged, resolved)
serviceIdsstringNoComma-separated service IDs to filter
sincestringNoStart date filter (ISO 8601 format)
untilstringNoEnd date filter (ISO 8601 format)
sortBystringNoSort field (e.g., created_at:desc)
limitstringNoMaximum number of results (max 100)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
fromEmailstringSíEmail address of a valid PagerDuty user
titlestringSíIncident title/summary
serviceIdstringSíID of the PagerDuty service
urgencystringNoUrgency level (high or low)
bodystringNoDetailed description of the incident
escalationPolicyIdstringNoEscalation policy ID to assign
assigneeIdstringNoUser ID to assign the incident to

Salida

ParámetroTipoDescripción
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.).

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
fromEmailstringSíEmail address of a valid PagerDuty user
incidentIdstringSíID of the incident to update
statusstringNoNew status (acknowledged or resolved)
titlestringNoNew incident title
urgencystringNoNew urgency (high or low)
escalationLevelstringNoEscalation level to escalate to

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
fromEmailstringSíEmail address of a valid PagerDuty user
incidentIdstringSíID of the incident to add the note to
contentstringSíNote content text

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
querystringNoFilter services by name
limitstringNoMaximum number of results (max 100)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíPagerDuty REST API Key
escalationPolicyIdsstringNoComma-separated escalation policy IDs to filter
scheduleIdsstringNoComma-separated schedule IDs to filter
sincestringNoStart time filter (ISO 8601 format)
untilstringNoEnd time filter (ISO 8601 format)
limitstringNoMaximum number of results (max 100)

Salida

ParámetroTipoDescripción
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