PagerDuty

List services

Lists all services that you have currently integrated with Datadog. To learn how you can integrate your PagerDuty services with Datadog check out the guide here.

Inputs

Field

Type

Description

query

string

Filters the result, showing only the records whose name matches the query.

offset

number

Offset to start pagination search results.

Outputs

Expand All

Field

Type

Description

services [required]

[object]

id [required]

string

The service's id.

summary [required]

string,null

Summary of the service.

type [required]

string

Type of the service.

self [required]

uri

API URL at which the service is accessible.

html_url [required]

uri

The URL for this service within PagerDuty.

name [required]

string

The name of the service.

description [required]

string,null

The description of the service.

auto_resolve_timeout [required]

number,null

Time in seconds that an incident is automatically resolved if left open for that long.

acknowledgement_timeout [required]

number,null

Time in seconds that an incident changes to the Triggered State after being Acknowledged.

created_at [required]

date-time

The date/time when this service was created.

updated_at [required]

date-time

The date/time when this service was updated.

status [required]

string

The current state of the Service.

last_incident_timestamp [required]

date-time

The current state of the Service.

escalation_policy [required]

object

Escalation policy of the Service.

type [required]

string

Type of the escalation policy.

id [required]

string

ID of the escalation policy.

summary [required]

string

Summary of the escalation policy.

self [required]

uri

API URL at which the escalation policy is accessible.

html_url [required]

uri

The URL for this escalation policy within PagerDuty.

teams [required]

[object]

The set of teams associated with this service.

type [required]

string

The type of the team.

id [required]

string

The team's ID within PagerDuty.

summary [required]

string

The team's name.

self [required]

uri

API URL at which the team is accessible.

html_url [required]

uri

The URL for the team within PagerDuty.

incident_urgency_rule [required]

object

Incident urgency rule.

type

enum

The type of incident urgency. Allowed enum values: constant,use_support_hours

urgency

enum

The incidents' urgency, if type is constant. Allowed enum values: low,high,severity_based

during_support_hours

object

The incident urgency during support hours: whether it's constant, or it's dependent on the support hours.

type

enum

The type of incident urgency. Allowed enum values: constant,use_support_hours

urgency

enum

The incidents' urgency, if type is constant. Allowed enum values: low,high,severity_based

outside_support_hours

object

The incident urgency outside support hours: whether it's constant, or it's dependent on the support hours.

type

enum

The type of incident urgency. Allowed enum values: constant,use_support_hours

urgency

enum

The incidents' urgency, if type is constant. Allowed enum values: low,high,severity_based

support_hours

object

Support hours.

type

string

Type of support hours.

time_zone

string

The time zone for the support hours.

days_of_week

[number]

The days of the week for support.

start_time

time

The support hours' starting time of day.

end_time

time

The support hours' ending time of day.

scheduled_actions [required]

[object]

Scheduled actions for the service.

type [required]

string

Type of the scheduled action.

at [required]

object

Represents when scheduled action will occur.

type [required]

string

Type of the scheduled action.

name [required]

string

Designates either the start or the end of support hours.

to_urgency [required]

string

Urgency level.

addons [required]

[object]

The array of Add-ons associated with this service.

src [required]

uri

The URL source of the Addon.

name [required]

string

Name of the add-on.

type [required]

string

Type of the add-on.

id [required]

string

ID of the add-on.

summary [required]

string

Summary of the add-on.

self [required]

uri

API URL at which the add-on is accessible.

html_url [required]

uri

The URL for this add-on within PagerDuty.

alert_creation [required]

string

Whether a service creates only incidents, or both alerts and incidents.

alert_grouping [required]

string

Defines how alerts on this service will be automatically grouped into incidents.

alert_grouping_parameters [required]

object

Defines how alerts on this service will be automatically grouped into incidents.

type

string

Type of the Alert grouping parameters.

config [required]

object

Configuration for Intelligent Alert Grouping.

timeout [required]

number

The maximum amount of time allowed between Alerts.

alert_grouping_timeout

number

The duration in minutes within which to automatically group incoming alerts.

response_play

[object]

Response plays associated with this service.

type [required]

string

Type of the reponse play.

id [required]

string

ID of the reponse play.

summary [required]

string

Summary of the reponse play.

self [required]

uri

API URL at which the reponse play is accessible.

html_url [required]

uri

The URL for this reponse play within PagerDuty.

totalServices [required]

number